summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-27 22:33:41 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-27 22:33:41 +0000
commit6af7af08933902b440522a91c482df38e5c0aef7 (patch)
treebe999d7b7bf8162105f8cafe0ff667f83e0ae2de
parent43860d2811e8874a5ed9582875d32fe4d223bed9 (diff)
use splnet instead of splimp
-rw-r--r--sys/arch/pica/dev/if_sn.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/pica/dev/if_sn.c b/sys/arch/pica/dev/if_sn.c
index 6471088042c..dc48444a0b7 100644
--- a/sys/arch/pica/dev/if_sn.c
+++ b/sys/arch/pica/dev/if_sn.c
@@ -380,7 +380,7 @@ snioctl(ifp, cmd, data)
{
struct ifaddr *ifa;
struct sn_softc *sc = sncd.cd_devs[ifp->if_unit];
- int s = splimp(), err = 0;
+ int s = splnet(), err = 0;
int temp;
switch (cmd) {
@@ -540,7 +540,7 @@ sninit(unit)
/* already running */
return (0);
- s = splimp();
+ s = splnet();
csr->s_cr = CR_RST; /* s_dcr only accessable reset mode! */
@@ -603,7 +603,7 @@ snstop(unit)
{
struct sn_softc *sc = sncd.cd_devs[unit];
struct mtd *mtd;
- int s = splimp();
+ int s = splnet();
/* stick chip in reset */
sc->sc_csr->s_cr = CR_RST;
@@ -654,7 +654,7 @@ snwatchdog(unit)
}
}
/*
- * stuff packet into sonic (at splimp)
+ * stuff packet into sonic (at splnet)
*/
int
sonicput(sc, m0)