From dc9a8ec9ddb79323172d672954743418bb6d4866 Mon Sep 17 00:00:00 2001 From: thorpej Date: Sun, 14 Jan 2001 17:33:48 +0000 Subject: [PATCH] Use splnet() to block network interrupts, not splimp(). --- sys/arch/next68k/dev/mb8795.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/arch/next68k/dev/mb8795.c b/sys/arch/next68k/dev/mb8795.c index e3fc018ff0c8..cd4e3f456bf9 100644 --- a/sys/arch/next68k/dev/mb8795.c +++ b/sys/arch/next68k/dev/mb8795.c @@ -1,4 +1,4 @@ -/* $NetBSD: mb8795.c,v 1.19 2000/11/15 01:02:13 thorpej Exp $ */ +/* $NetBSD: mb8795.c,v 1.20 2001/01/14 17:33:48 thorpej Exp $ */ /* * Copyright (c) 1998 Darrin B. Jewell * All rights reserved. @@ -452,7 +452,7 @@ mb8795_reset(sc) { int s; - s = splimp(); + s = splnet(); mb8795_init(sc); splx(s); } @@ -581,7 +581,7 @@ mb8795_ioctl(ifp, cmd, data) struct ifreq *ifr = (struct ifreq *)data; int s, error = 0; - s = splimp(); + s = splnet(); switch (cmd) { @@ -703,7 +703,7 @@ mb8795_ioctl(ifp, cmd, data) * Setup output on interface. * Get another datagram to send off of the interface queue, and map it to the * interface before starting the output. - * Called only at splimp or interrupt level. + * Called only at splnet or interrupt level. */ void mb8795_start(ifp)