From df6ee7b7a124b60db6c4efaf2c2ee1bc4ebb5357 Mon Sep 17 00:00:00 2001 From: Orion Hodson Date: Wed, 19 Dec 2001 18:26:53 +0000 Subject: [PATCH] Correct unexpected interrupt detection. --- sys/dev/sound/pci/ich.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/sound/pci/ich.c b/sys/dev/sound/pci/ich.c index 39ba19e5a8e..fd391e57715 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);