]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
tsec(4): do not clear interrupt events register before use.
authorraj <raj@FreeBSD.org>
Tue, 17 Feb 2009 15:47:13 +0000 (15:47 +0000)
committerraj <raj@FreeBSD.org>
Tue, 17 Feb 2009 15:47:13 +0000 (15:47 +0000)
commit1166819402f80a20b7cae70f3086a2a7cba4c688
treecb6b55ef036505af290c6c39aeae2c10beb71917
parent3fe0ff5e6c57f42cb5b0400f2ce2ba42d4e251f7
tsec(4): do not clear interrupt events register before use.

Prior to this fix, IEVENT register was always cleared before calling
tsec_error_intr_locked(), which prevented error recovery actions from
happening with polling enabled (and could lead to serious problems, including
controller hang).

Submitted by: Marcin Ligenza marcinl ! pacomp dot com dot pl
sys/dev/tsec/if_tsec.c