diff options
author | orion <orion@FreeBSD.org> | 2001-12-19 18:26:53 +0000 |
---|---|---|
committer | orion <orion@FreeBSD.org> | 2001-12-19 18:26:53 +0000 |
commit | 3e097bafbac340e920002af83f4f0969e98af967 (patch) | |
tree | e242978bca4b3f5ffd03f68af95baf6ebb7667b5 /sys/dev/sound/pci | |
parent | c49f583088715d4df0cb4864049f636add630dee (diff) | |
download | FreeBSD-src-3e097bafbac340e920002af83f4f0969e98af967.zip FreeBSD-src-3e097bafbac340e920002af83f4f0969e98af967.tar.gz |
Correct unexpected interrupt detection.
Diffstat (limited to 'sys/dev/sound/pci')
-rw-r--r-- | sys/dev/sound/pci/ich.c | 2 |
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); |