diff options
-rw-r--r-- | sys/dev/fxp/if_fxp.c | 4 | ||||
-rw-r--r-- | sys/pci/if_fxp.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c index e9689ef..08dd15c 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__) 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__) |