mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-03 15:15:01 +00:00
Correct unexpected interrupt detection.
This commit is contained in:
parent
29a2220a5c
commit
df6ee7b7a1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=88215
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue