diff --git a/sys/i386/isa/bs/bs.c b/sys/i386/isa/bs/bs.c index 0fdf78b8330d..fdbc8a1826a3 100644 --- a/sys/i386/isa/bs/bs.c +++ b/sys/i386/isa/bs/bs.c @@ -1,5 +1,6 @@ /* $NecBSD: bs.c,v 1.1 1997/07/18 09:18:59 kmatsuda Exp $ */ /* $NetBSD$ */ +/* $FreeBSD$ */ /* * [NetBSD for NEC PC98 series] * Copyright (c) 1994, 1995, 1996 NetBSD/pc98 porting staff. @@ -107,7 +108,7 @@ bs_scsi_cmd(struct cam_sim *sim, union ccb *ccb) if (cb->tcmax < BS_DEFAULT_TIMEOUT_SECOND) cb->tcmax = BS_DEFAULT_TIMEOUT_SECOND; - s = splbio(); + s = splcam(); TAILQ_INSERT_TAIL(&ti->ti_ctab, cb, ccb_chain); @@ -1637,7 +1638,7 @@ bs_scsi_cmd_poll(cti, targetcb) struct targ_info *ti; int s, error = COMPLETE; - s = splbio(); + s = splcam(); bs_terminate_timeout(bsc); if (bsc->sc_hstate == BSC_TARG_CHECK) diff --git a/sys/i386/isa/bs/bsfunc.c b/sys/i386/isa/bs/bsfunc.c index c92b70676933..d4fc51c76dc9 100644 --- a/sys/i386/isa/bs/bsfunc.c +++ b/sys/i386/isa/bs/bsfunc.c @@ -1,5 +1,6 @@ /* $NecBSD: bsfunc.c,v 1.2 1997/10/31 17:43:37 honda Exp $ */ /* $NetBSD$ */ +/* $FreeBSD$ */ /* * [NetBSD for NEC PC98 series] * Copyright (c) 1994, 1995, 1996 NetBSD/pc98 porting staff. @@ -90,7 +91,7 @@ bstimeout(arg) struct bsccb *cb; int s; - s = splbio(); + s = splcam(); bsc->sc_flags &= ~BSSTARTTIMEOUT; /* check */ @@ -625,7 +626,7 @@ bs_check_target(ti) ti->ti_lun = 0; bsc->sc_retry = 2; - s = splbio(); + s = splcam(); /* inquiry */ bzero(&scsi_cmd, sizeof(scsi_cmd));