cxgbe(4): Move some INTx specific code to a more appropriate place.
This commit is contained in:
parent
7b97300547
commit
1dca7005b1
@ -1379,6 +1379,9 @@ t4_intr_all(void *arg)
|
||||
|
||||
MPASS(sc->intr_count == 1);
|
||||
|
||||
if (sc->intr_type == INTR_INTX)
|
||||
t4_write_reg(sc, MYPF_REG(A_PCIE_PF_CLI), 0);
|
||||
|
||||
t4_intr_err(arg);
|
||||
t4_intr_evt(fwq);
|
||||
}
|
||||
@ -1392,7 +1395,6 @@ t4_intr_err(void *arg)
|
||||
{
|
||||
struct adapter *sc = arg;
|
||||
|
||||
t4_write_reg(sc, MYPF_REG(A_PCIE_PF_CLI), 0);
|
||||
t4_slow_intr_handler(sc);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user