From 218050fc1c8872a184201cf171493a3a8847bf4d Mon Sep 17 00:00:00 2001 From: Kenneth R Westerback Date: Mon, 11 Jan 2010 08:56:18 +0000 Subject: Bring mutex protections to ststart, cdstart and ssstart, as already done in sd. Make names consistant across all three. ok dlg@ tested (cd) & ok beck@ --- sys/scsi/ssvar.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sys/scsi/ssvar.h') diff --git a/sys/scsi/ssvar.h b/sys/scsi/ssvar.h index 7af6756a314..6f1f783eefe 100644 --- a/sys/scsi/ssvar.h +++ b/sys/scsi/ssvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ssvar.h,v 1.14 2010/01/09 21:12:06 dlg Exp $ */ +/* $OpenBSD: ssvar.h,v 1.15 2010/01/11 08:56:17 krw Exp $ */ /* $NetBSD: ssvar.h,v 1.2 1996/03/30 21:47:11 christos Exp $ */ /* @@ -74,8 +74,9 @@ struct ss_softc { const struct quirkdata *quirkdata; /* if we have a rogue entry */ struct ss_special special; /* special handlers for spec. devices */ struct timeout timeout; - struct mutex queue_mtx; - struct mutex start_mtx; + struct mutex sc_buf_mtx; + struct mutex sc_start_mtx; + u_int sc_start_count; }; struct buf *ss_buf_dequeue(struct ss_softc *); -- cgit v1.2.3