From e481e52aa98957e55c636aaeebab27cb8690e15a Mon Sep 17 00:00:00 2001 From: mycroft Date: Tue, 4 Mar 1997 21:42:32 +0000 Subject: [PATCH] Fix a couple of splhigh()s that should be splbio(). --- sys/dev/ic/ncr5380sbc.c | 4 ++-- sys/dev/pci/ncr.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sys/dev/ic/ncr5380sbc.c b/sys/dev/ic/ncr5380sbc.c index 0c91223e2cd4..0c5a6d55e3af 100644 --- a/sys/dev/ic/ncr5380sbc.c +++ b/sys/dev/ic/ncr5380sbc.c @@ -1,4 +1,4 @@ -/* $NetBSD: ncr5380sbc.c,v 1.17 1997/02/26 22:23:48 gwr Exp $ */ +/* $NetBSD: ncr5380sbc.c,v 1.18 1997/03/04 21:42:32 mycroft Exp $ */ /* * Copyright (c) 1995 David Jones, Gordon W. Ross @@ -2479,7 +2479,7 @@ ncr5380_trace(msg, val) register struct trace_ent *tr; register int s; - s = splhigh(); + s = splbio(); tr = &ncr5380_tracebuf[ncr5380_traceidx]; diff --git a/sys/dev/pci/ncr.c b/sys/dev/pci/ncr.c index 50b3809098a0..89f544563325 100644 --- a/sys/dev/pci/ncr.c +++ b/sys/dev/pci/ncr.c @@ -1,4 +1,4 @@ -/* $NetBSD: ncr.c,v 1.55 1997/01/10 05:57:10 perry Exp $ */ +/* $NetBSD: ncr.c,v 1.56 1997/03/04 21:42:34 mycroft Exp $ */ /************************************************************************** ** @@ -1351,7 +1351,7 @@ static void ncr_attach (pcici_t tag, int unit); #if 0 static char ident[] = - "\n$NetBSD: ncr.c,v 1.55 1997/01/10 05:57:10 perry Exp $\n"; + "\n$NetBSD: ncr.c,v 1.56 1997/03/04 21:42:34 mycroft Exp $\n"; #endif static const u_long ncr_version = NCR_VERSION * 11 @@ -6363,7 +6363,7 @@ static ccb_p ncr_get_ccb ccb_p cp = (ccb_p) 0; int oldspl; - oldspl = splhigh(); + oldspl = splbio(); /* ** Lun structure available ? */