diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2010-01-11 08:56:18 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2010-01-11 08:56:18 +0000 |
commit | 218050fc1c8872a184201cf171493a3a8847bf4d (patch) | |
tree | 46b8bada6fe22fd1183fb954651120e0d632295e /sys/scsi/ssvar.h | |
parent | f22c79ddda0813dd716d5fd3cc20a01b2dfcb6ed (diff) |
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@
Diffstat (limited to 'sys/scsi/ssvar.h')
-rw-r--r-- | sys/scsi/ssvar.h | 7 |
1 files changed, 4 insertions, 3 deletions
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 *); |