summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2007-09-30 22:12:44 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2007-09-30 22:12:44 +0000
commit4a42b4f24f264f8efa4cd17cc557e5a39cb32769 (patch)
tree6f001ba0ee390f6bbfef20b3b884be72a3457d0a /sys/dev
parentd5a801a8ee6cc9e40715e75f75d167ee9b1b72ac (diff)
Don't count interrupts with state "not of interest".
From Oleg Safiullin. OK jsg@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/bwi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/bwi.c b/sys/dev/ic/bwi.c
index c7a622584b1..b259ec51eaa 100644
--- a/sys/dev/ic/bwi.c
+++ b/sys/dev/ic/bwi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bwi.c,v 1.52 2007/09/30 17:11:58 kettenis Exp $ */
+/* $OpenBSD: bwi.c,v 1.53 2007/09/30 22:12:43 mglocker Exp $ */
/*
* Copyright (c) 2007 The DragonFly Project. All rights reserved.
@@ -532,7 +532,7 @@ bwi_intr(void *xsc)
intr_status &= CSR_READ_4(sc, BWI_MAC_INTR_MASK);
if (intr_status == 0) /* Nothing is interesting */
- return (1);
+ return (0);
DPRINTF(2, "%s: intr status 0x%08x\n",
sc->sc_dev.dv_xname, intr_status);