From ebcd52935bc94fce277ad27907fd4e58f9f47e49 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Sun, 16 Apr 2006 23:16:45 +0000 Subject: 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. --- sys/dev/pccbb/pccbb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev') diff --git a/sys/dev/pccbb/pccbb.c b/sys/dev/pccbb/pccbb.c index f3ced97d31d4d..e1c897f8ffaaa 100644 --- a/sys/dev/pccbb/pccbb.c +++ b/sys/dev/pccbb/pccbb.c @@ -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); -- cgit v1.3