svn commit: r342954 - head/sys/dev/cxgbe
Navdeep Parhar
np at FreeBSD.org
Sat Jan 12 04:44:26 UTC 2019
Author: np
Date: Sat Jan 12 04:44:25 2019
New Revision: 342954
URL: https://svnweb.freebsd.org/changeset/base/342954
Log:
cxgbe(4): Move some INTx specific code to a more appropriate place.
Modified:
head/sys/dev/cxgbe/t4_sge.c
Modified: head/sys/dev/cxgbe/t4_sge.c
==============================================================================
--- head/sys/dev/cxgbe/t4_sge.c Sat Jan 12 00:39:42 2019 (r342953)
+++ head/sys/dev/cxgbe/t4_sge.c Sat Jan 12 04:44:25 2019 (r342954)
@@ -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);
}
More information about the svn-src-all
mailing list