splimp -> splnet

This commit is contained in:
thorpej 2001-04-12 20:04:24 +00:00
parent 06b19d90b8
commit 3d6b1bec1e
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_qe.c,v 1.46 2001/02/25 13:51:11 ragge Exp $ */ /* $NetBSD: if_qe.c,v 1.47 2001/04/12 20:04:24 thorpej Exp $ */
/* /*
* Copyright (c) 1999 Ludd, University of Lule}, Sweden. All rights reserved. * Copyright (c) 1999 Ludd, University of Lule}, Sweden. All rights reserved.
* *
@ -473,7 +473,7 @@ qestart(struct ifnet *ifp)
if ((QE_RCSR(QE_CSR_CSR) & QE_RCV_ENABLE) == 0) if ((QE_RCSR(QE_CSR_CSR) & QE_RCV_ENABLE) == 0)
return; return;
s = splimp(); s = splnet();
while (sc->sc_inq < (TXDESCS - 1)) { while (sc->sc_inq < (TXDESCS - 1)) {
if (sc->sc_setup) { if (sc->sc_setup) {
@ -784,7 +784,7 @@ qe_setup(struct qe_softc *sc)
u_int8_t *enaddr = LLADDR(ifp->if_sadl); u_int8_t *enaddr = LLADDR(ifp->if_sadl);
int i, j, k, idx, s; int i, j, k, idx, s;
s = splimp(); s = splnet();
if (sc->sc_inq == (TXDESCS - 1)) { if (sc->sc_inq == (TXDESCS - 1)) {
sc->sc_setup = 1; sc->sc_setup = 1;
splx(s); splx(s);