mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-04 07:31:11 +00:00
Add missing ~. We want all the INVALID bits to be 0... Let's see if this
helps people with their interrupt storm problem on card eject.
This commit is contained in:
parent
47e065b48f
commit
ebcd52935b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=157803
|
@ -662,7 +662,7 @@ cbb_intr(void *arg)
|
|||
* we got garbage.
|
||||
*/
|
||||
sockevent = cbb_get(sc, CBB_SOCKET_EVENT);
|
||||
if (sockevent != 0 && (sockevent & CBB_SOCKET_EVENT_VALID_MASK) == 0) {
|
||||
if (sockevent != 0 && (sockevent & ~CBB_SOCKET_EVENT_VALID_MASK) == 0) {
|
||||
/* ack the interrupt */
|
||||
cbb_set(sc, CBB_SOCKET_EVENT, sockevent);
|
||||
|
||||
|
|
Loading…
Reference in a new issue