mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Correct unexpected interrupt detection.
This commit is contained in:
parent
29a2220a5c
commit
df6ee7b7a1
1 changed files with 1 additions and 1 deletions
|
|
@ -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