summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_fxp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci/if_fxp.c')
-rw-r--r--sys/pci/if_fxp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pci/if_fxp.c b/sys/pci/if_fxp.c
index e9689ef..08dd15c 100644
--- a/sys/pci/if_fxp.c
+++ b/sys/pci/if_fxp.c
@@ -1211,12 +1211,12 @@ fxp_intr(arg)
struct fxp_softc *sc = arg;
struct ifnet *ifp = &sc->sc_if;
u_int8_t statack;
+ FXP_SPLVAR(s)
#if defined(__NetBSD__)
int claimed = 0;
-#else
+#endif
FXP_LOCK(sc, s);
-#endif
while (!sc->suspended && (statack = CSR_READ_1(sc, FXP_CSR_SCB_STATACK)) != 0) {
#if defined(__NetBSD__)
OpenPOWER on IntegriCloud