summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoshihiro Takahashi <nyan@FreeBSD.org>2000-04-22 15:09:35 +0000
committerYoshihiro Takahashi <nyan@FreeBSD.org>2000-04-22 15:09:35 +0000
commitede16bc486f679fd13b7c15a2a2cb5158b06a59e (patch)
treec5d5999064ceaf97007249a8f2d8d8efbfd31a82
parent6a970be1d8efaab9b01da4b0ab0eb200f15d4876 (diff)
Notes
-rw-r--r--sys/i386/isa/ccbque.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/i386/isa/ccbque.h b/sys/i386/isa/ccbque.h
index 0d9eeecb9f55..cb6bebead390 100644
--- a/sys/i386/isa/ccbque.h
+++ b/sys/i386/isa/ccbque.h
@@ -26,6 +26,8 @@
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
+ *
+ * $FreeBSD$
*/
/*
* Common command control queue funcs.
@@ -71,7 +73,7 @@ struct CCBTYPE * \
DEV##_get_ccb() \
{ \
register struct CCBTYPE *cb; \
- int s = splbio(); \
+ int s = splcam(); \
\
again: \
if (CCBTYPE##que.count < CCBTYPE##que.maxccb) \
@@ -106,7 +108,7 @@ void \
DEV##_free_ccb(cb) \
register struct CCBTYPE *cb; \
{ \
- int s = splbio(); \
+ int s = splcam(); \
\
TAILQ_INSERT_TAIL(&CCBTYPE##que.CCBTYPE##tab, cb, CHAIN); \
CCBTYPE##que.count --; \