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_ie.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_ie.c')
-rw-r--r-- | sys/dev/isa/if_ie.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/isa/if_ie.c b/sys/dev/isa/if_ie.c index b991ee87636..cb11e553270 100644 --- a/sys/dev/isa/if_ie.c +++ b/sys/dev/isa/if_ie.c @@ -87,7 +87,7 @@ that we must include this header in the transmit buffer as well. By convention, all transmit commands, and only transmit commands, shall have the I (IE_CMD_INTR) bit set in the command. This way, when an interrupt arrives at ieintr(), it is immediately possible to tell what precisely caused -it. ANY OTHER command-sending routines should run at splimp(), and should +it. ANY OTHER command-sending routines should run at splnet(), and should post an acknowledgement to every interrupt they generate. The 82586 has a 24-bit address space internally, and the adaptor's memory is @@ -776,8 +776,8 @@ ieattach(parent, self, aux) sizeof(struct ether_header)); #endif - sc->sc_ih = isa_intr_establish(ia->ia_irq, ISA_IST_EDGE, ISA_IPL_NET, - ieintr, sc); + sc->sc_ih = isa_intr_establish(ia->ia_irq, IST_EDGE, IPL_NET, ieintr, + sc); } /* @@ -1508,7 +1508,7 @@ check_ie_present(sc, where, size) u_long realbase; int s; - s = splimp(); + s = splnet(); realbase = (u_long)where + size - (1 << 24); @@ -1759,7 +1759,7 @@ void iereset(sc) struct ie_softc *sc; { - int s = splimp(); + int s = splnet(); iestop(sc); @@ -1967,7 +1967,7 @@ iememinit(ptr, sc) /* * Run the multicast setup command. - * Called at splimp(). + * Called at splnet(). */ static int mc_setup(sc, ptr) @@ -2001,7 +2001,7 @@ mc_setup(sc, ptr) * includes executing the CONFIGURE, IA-SETUP, and MC-SETUP commands, starting * the receiver unit, and clearing interrupts. * - * THIS ROUTINE MUST BE CALLED AT splimp() OR HIGHER. + * THIS ROUTINE MUST BE CALLED AT splnet() OR HIGHER. */ int ieinit(sc) @@ -2115,7 +2115,7 @@ ieioctl(ifp, cmd, data) struct ifreq *ifr = (struct ifreq *)data; int s, error = 0; - s = splimp(); + s = splnet(); switch (cmd) { |