summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authororion <orion@FreeBSD.org>2001-12-19 18:26:53 +0000
committerorion <orion@FreeBSD.org>2001-12-19 18:26:53 +0000
commit3e097bafbac340e920002af83f4f0969e98af967 (patch)
treee242978bca4b3f5ffd03f68af95baf6ebb7667b5 /sys
parentc49f583088715d4df0cb4864049f636add630dee (diff)
downloadFreeBSD-src-3e097bafbac340e920002af83f4f0969e98af967.zip
FreeBSD-src-3e097bafbac340e920002af83f4f0969e98af967.tar.gz
Correct unexpected interrupt detection.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/sound/pci/ich.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pci/ich.c b/sys/dev/sound/pci/ich.c
index 39ba19e..fd391e5 100644
--- a/sys/dev/sound/pci/ich.c
+++ b/sys/dev/sound/pci/ich.c
@@ -380,7 +380,7 @@ ich_intr(void *p)
u_int32_t cbi, lbi, lvi, st, gs;
int i;
- gs = ich_rd(sc, ICH_REG_GLOB_STA, 4) | ICH_GLOB_STA_IMASK;
+ gs = ich_rd(sc, ICH_REG_GLOB_STA, 4) & ICH_GLOB_STA_IMASK;
if (gs & (ICH_GLOB_STA_PRES | ICH_GLOB_STA_SRES)) {
/* Clear resume interrupt(s) - nothing doing with them */
ich_wr(sc, ICH_REG_GLOB_STA, gs, 4);
OpenPOWER on IntegriCloud