summaryrefslogtreecommitdiffstats
path: root/sys/dev/pccbb
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2006-04-16 23:16:45 +0000
committerimp <imp@FreeBSD.org>2006-04-16 23:16:45 +0000
commitcc94e2fe3b3408d1b8dcb27bc478d57821d5d8e9 (patch)
tree1a0b447473c7172d29eb6145dbfde07dd8a52302 /sys/dev/pccbb
parentaadf63b43ab71743de55aa47bc4fad963068de85 (diff)
downloadFreeBSD-src-cc94e2fe3b3408d1b8dcb27bc478d57821d5d8e9.zip
FreeBSD-src-cc94e2fe3b3408d1b8dcb27bc478d57821d5d8e9.tar.gz
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.
Diffstat (limited to 'sys/dev/pccbb')
-rw-r--r--sys/dev/pccbb/pccbb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pccbb/pccbb.c b/sys/dev/pccbb/pccbb.c
index f3ced97..e1c897f 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);
OpenPOWER on IntegriCloud