aboutsummaryrefslogtreecommitdiff
path: root/sys/i386/isa/lpt.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1995-02-26 21:41:41 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1995-02-26 21:41:41 +0000
commitf3fb4d806f6c1ba276d3ea6d45a3bda3e59054a2 (patch)
treedbb0e71e013e020e5afd92bce02b43ae3905730d /sys/i386/isa/lpt.c
parent22cb53a86646d20f23c49da47eac9474a8d8bf2f (diff)
downloadsrc-f3fb4d806f6c1ba276d3ea6d45a3bda3e59054a2.tar.gz
src-f3fb4d806f6c1ba276d3ea6d45a3bda3e59054a2.zip
I really hate this:
unless I go "splhigh" (as opposed to splimp before) the TCP/IP driver doesn't work anymore... Why ?
Notes
Notes: svn path=/head/; revision=6749
Diffstat (limited to 'sys/i386/isa/lpt.c')
-rw-r--r--sys/i386/isa/lpt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/i386/isa/lpt.c b/sys/i386/isa/lpt.c
index 2638b7487d56..e78911172960 100644
--- a/sys/i386/isa/lpt.c
+++ b/sys/i386/isa/lpt.c
@@ -46,7 +46,7 @@
* SUCH DAMAGE.
*
* from: unknown origin, 386BSD 0.1
- * $Id: lpt.c,v 1.24 1994/11/16 06:09:29 phk Exp $
+ * $Id: lpt.c,v 1.25 1995/02/26 05:14:50 bde Exp $
*/
/*
@@ -920,7 +920,7 @@ lpintr(int unit)
u_long c, cl;
struct mbuf *top;
- s = splimp();
+ s = splhigh();
while((inb(port)&0x40)) {
len = sc->sc_if.if_mtu + LPHDR;
bp = sc->sc_ifbuf;
@@ -991,7 +991,7 @@ lpoutput(struct ifnet *ifp, struct mbuf *m,
u_char *cp = "\0\0";
struct mbuf *mm=m;
- s=splimp();
+ s=splhigh();
/* We need a sensible value if we abort */
cp++;