cxgbe(4): Move some INTx specific code to a more appropriate place.

This commit is contained in:
Navdeep Parhar 2019-01-12 04:44:25 +00:00
parent 7b97300547
commit 1dca7005b1

View File

@ -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);
}