Upon inspection of a 4000/600 dmesg, change the splbios to splubas.

XXX THIS CODE IS SERIOUSLY BROKEN!  MSCP DEVICES ARE BLOCK I/O DEVICES,
AND THUS SPLBIO SHOULD BLOCK THEIR INTERRUPTS.  The VAX port really
needs to get virtualized spl*() levels.
This commit is contained in:
thorpej 2001-04-12 20:13:26 +00:00
parent 376be9fdf3
commit 5da5b5ae5b
3 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: mscp.c,v 1.14 2001/04/12 20:03:35 thorpej Exp $ */
/* $NetBSD: mscp.c,v 1.15 2001/04/12 20:13:26 thorpej Exp $ */
/*
* Copyright (c) 1996 Ludd, University of Lule}, Sweden.
@ -71,7 +71,7 @@ mscp_getcp(mi, canwait)
#define mri (&mi->mi_cmd)
struct mscp *mp;
int i;
int s = splbio();
int s = spluba();
again:
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: mscp_disk.c,v 1.28 2001/04/12 20:03:35 thorpej Exp $ */
/* $NetBSD: mscp_disk.c,v 1.29 2001/04/12 20:13:26 thorpej Exp $ */
/*
* Copyright (c) 1996 Ludd, University of Lule}, Sweden.
* Copyright (c) 1988 Regents of the University of California.
@ -263,7 +263,7 @@ raclose(dev, flags, fmt, p)
*/
#if notyet
if (ra->ra_openpart == 0) {
s = splbio();
s = spluba();
while (BUFQ_FIRST(&udautab[unit]) != NULL)
(void) tsleep(&udautab[unit], PZERO - 1,
"raclose", 0);

View File

@ -1,4 +1,4 @@
/* $NetBSD: mscp_subr.c,v 1.16 2001/04/12 20:03:35 thorpej Exp $ */
/* $NetBSD: mscp_subr.c,v 1.17 2001/04/12 20:13:27 thorpej Exp $ */
/*
* Copyright (c) 1996 Ludd, University of Lule}, Sweden.
* Copyright (c) 1988 Regents of the University of California.
@ -482,7 +482,7 @@ mscp_strategy(bp, usc)
struct device *usc;
{
struct mscp_softc *mi = (void *)usc;
int s = splbio();
int s = spluba();
BUFQ_INSERT_TAIL(&mi->mi_resq, bp);
mscp_kickaway(mi);