aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>2000-09-17 22:59:58 +0000
committerDavid Greenman <dg@FreeBSD.org>2000-09-17 22:59:58 +0000
commit04ea20fcf4c9b10c68c6b355b60c1a361ee1caa6 (patch)
tree929b8a341c446c9ff972219ce4f657ce485e9932 /sys/dev
parent2053b07d7ef1e5b917fa2e7fc7f6d8cb339014ca (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/fxp/if_fxp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c
index e9689ef3d3fc..08dd15cc8739 100644
--- a/sys/dev/fxp/if_fxp.c
+++ b/sys/dev/fxp/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__)