Change splbio() to splcam(). bs is cam driver.
This commit is contained in:
parent
86a4809ff7
commit
82a9a36d9f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=54079
@ -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)
|
||||
|
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user