summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_fxp.c
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>2000-09-17 22:59:58 +0000
committerdg <dg@FreeBSD.org>2000-09-17 22:59:58 +0000
commit683279a04abb06c11a171a02971933030c5a88fc (patch)
tree12658307904944fafedb9e1c688c4d4edcbf69f3 /sys/pci/if_fxp.c
parent7d81424343a25645da917df7cfc8719456cda90d (diff)
downloadFreeBSD-src-683279a04abb06c11a171a02971933030c5a88fc.zip
FreeBSD-src-683279a04abb06c11a171a02971933030c5a88fc.tar.gz
Added missing FXP_SPLVAR() to fxp_intr().
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