summaryrefslogtreecommitdiff
path: root/sys/dev/isa/if_ed.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-27 22:06:49 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-27 22:06:49 +0000
commit19c4b654cc723df0e419fd9f12197f491b1bc1d4 (patch)
treee1ec3cdc5db2c1ca3593846ae053d0595186ead5 /sys/dev/isa/if_ed.c
parent043773b2a500f1f422b5db3eca46befb28d8a7af (diff)
from netbsd:
The IST_* and IPL_* constants are not bus-specific; don't treat them as such. Change splimp -> splnet in Ethernet, ARCnet, and FDDI drivers.
Diffstat (limited to 'sys/dev/isa/if_ed.c')
-rw-r--r--sys/dev/isa/if_ed.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/isa/if_ed.c b/sys/dev/isa/if_ed.c
index 0c4fa0cd428..8b3db662650 100644
--- a/sys/dev/isa/if_ed.c
+++ b/sys/dev/isa/if_ed.c
@@ -1092,8 +1092,8 @@ edattach(parent, self, aux)
bpfattach(&ifp->if_bpf, ifp, DLT_EN10MB, sizeof(struct ether_header));
#endif
- sc->sc_ih = isa_intr_establish(ia->ia_irq, ISA_IST_EDGE, ISA_IPL_NET,
- edintr, sc);
+ sc->sc_ih = isa_intr_establish(ia->ia_irq, IST_EDGE, IPL_NET, edintr,
+ sc);
}
/*
@@ -1105,7 +1105,7 @@ edreset(sc)
{
int s;
- s = splimp();
+ s = splnet();
edstop(sc);
edinit(sc);
splx(s);
@@ -1329,7 +1329,7 @@ ed_xmit(sc)
/*
* Start output on interface.
* We make two assumptions here:
- * 1) that the current priority is set to splimp _before_ this code
+ * 1) that the current priority is set to splnet _before_ this code
* is called *and* is returned to the appropriate priority after
* return
* 2) that the IFF_OACTIVE flag is checked before this code is called
@@ -1766,7 +1766,7 @@ edioctl(ifp, cmd, data)
struct ifreq *ifr = (struct ifreq *)data;
int s, error = 0;
- s = splimp();
+ s = splnet();
switch (cmd) {