don't complain about bad irqs if using a shared irq
This commit is contained in:
parent
becc0678b7
commit
4e77c04865
@ -317,6 +317,9 @@ ess_intr(void *arg)
|
||||
if (ess_rd(sc, 0x0c) & 0x01)
|
||||
src |= 1;
|
||||
|
||||
if (src == 0)
|
||||
return;
|
||||
|
||||
if (sc->duplex) {
|
||||
pirq = (src & sc->pch.hwch)? 1 : 0;
|
||||
rirq = (src & sc->rch.hwch)? 1 : 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user