diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-27 22:06:49 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-27 22:06:49 +0000 |
commit | 19c4b654cc723df0e419fd9f12197f491b1bc1d4 (patch) | |
tree | e1ec3cdc5db2c1ca3593846ae053d0595186ead5 /sys/dev/isa/if_eg.c | |
parent | 043773b2a500f1f422b5db3eca46befb28d8a7af (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_eg.c')
-rw-r--r-- | sys/dev/isa/if_eg.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/isa/if_eg.c b/sys/dev/isa/if_eg.c index 4f2e8402a2e..e62e7c0f218 100644 --- a/sys/dev/isa/if_eg.c +++ b/sys/dev/isa/if_eg.c @@ -409,8 +409,8 @@ egattach(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, - egintr, sc); + sc->sc_ih = isa_intr_establish(ia->ia_irq, IST_EDGE, IPL_NET, egintr, + sc); } void @@ -731,7 +731,7 @@ egioctl(ifp, cmd, data) struct ifreq *ifr = (struct ifreq *)data; int s, error = 0; - s = splimp(); + s = splnet(); switch (cmd) { @@ -813,7 +813,7 @@ egreset(sc) int s; dprintf(("egreset()\n")); - s = splimp(); + s = splnet(); egstop(sc); eginit(sc); splx(s); |