diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-27 22:32:54 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-27 22:32:54 +0000 |
commit | 43860d2811e8874a5ed9582875d32fe4d223bed9 (patch) | |
tree | 2990015a92c92d79ec0d045136458b0d9577bd9f /sys/arch/vax/if | |
parent | 50a68acd45f1790d1eccc3fc0284428239f0a842 (diff) |
from netbsd:
Change splimp -> splnet in Ethernet, ARCnet, and FDDI drivers.
Diffstat (limited to 'sys/arch/vax/if')
-rw-r--r-- | sys/arch/vax/if/if_de.c | 6 | ||||
-rw-r--r-- | sys/arch/vax/if/if_qe.c | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/sys/arch/vax/if/if_de.c b/sys/arch/vax/if/if_de.c index d42a45ec242..cf239587ca3 100644 --- a/sys/arch/vax/if/if_de.c +++ b/sys/arch/vax/if/if_de.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_de.c,v 1.10 1995/12/01 19:37:55 ragge Exp $ */ +/* $NetBSD: if_de.c,v 1.11 1995/12/24 02:30:52 mycroft Exp $ */ /* * Copyright (c) 1982, 1986, 1989 Regents of the University of California. @@ -345,7 +345,7 @@ deinit(unit) } /* start up the board (rah rah) */ - s = splimp(); + s = splnet(); ds->ds_rindex = ds->ds_xindex = ds->ds_xfree = ds->ds_nxmit = 0; ds->ds_if.if_flags |= IFF_RUNNING; addr->pclow = PCSR0_INTE; /* avoid interlock */ @@ -584,7 +584,7 @@ deioctl(ifp, cmd, data) { register struct ifaddr *ifa = (struct ifaddr *)data; register struct de_softc *ds = decd.cd_devs[ifp->if_unit]; - int s = splimp(), error = 0; + int s = splnet(), error = 0; switch (cmd) { diff --git a/sys/arch/vax/if/if_qe.c b/sys/arch/vax/if/if_qe.c index a468d3011f4..8f44ae74658 100644 --- a/sys/arch/vax/if/if_qe.c +++ b/sys/arch/vax/if/if_qe.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_qe.c,v 1.7 1995/12/01 19:37:59 ragge Exp $ */ +/* $NetBSD: if_qe.c,v 1.8 1995/12/24 02:30:55 mycroft Exp $ */ /* * Copyright (c) 1988 Regents of the University of California. @@ -495,7 +495,7 @@ qeinit(unit) * Take the interface out of reset, program the vector, * enable interrupts, and tell the world we are up. */ - s = splimp(); + s = splnet(); addr->qe_vector = sc->qe_intvec; sc->addr = addr; addr->qe_csr = QE_RCV_ENABLE | QE_INT_ENABLE | QE_XMIT_INT | @@ -527,7 +527,7 @@ qestart(ifp) int buf_addr, len, s; - s = splimp(); + s = splnet(); /* * The deqna doesn't look at anything but the valid bit * to determine if it should transmit this packet. If you have @@ -773,7 +773,7 @@ qeioctl(ifp, cmd, data) { struct qe_softc *sc = qecd.cd_devs[ifp->if_unit]; struct ifaddr *ifa = (struct ifaddr *)data; - int s = splimp(), error = 0; + int s = splnet(), error = 0; switch (cmd) { |