summaryrefslogtreecommitdiff
path: root/sys/scsi/ssvar.h
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2010-01-15 05:50:32 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2010-01-15 05:50:32 +0000
commitd6bc3496210f7d19cc39810545baa806ca318143 (patch)
tree61c23c8e8e78a6445cd0d4faea08c75835dde879 /sys/scsi/ssvar.h
parent2761e5bb53a1d6d65150c51d5f84dc68bb1daf49 (diff)
Abstract and merge the manual buf queue manipulating functions into
one place for easier debugging and maintenance. No intended functional changes. ok dlg@
Diffstat (limited to 'sys/scsi/ssvar.h')
-rw-r--r--sys/scsi/ssvar.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/scsi/ssvar.h b/sys/scsi/ssvar.h
index 6f1f783eefe..14fbffd29d1 100644
--- a/sys/scsi/ssvar.h
+++ b/sys/scsi/ssvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssvar.h,v 1.15 2010/01/11 08:56:17 krw Exp $ */
+/* $OpenBSD: ssvar.h,v 1.16 2010/01/15 05:50:31 krw Exp $ */
/* $NetBSD: ssvar.h,v 1.2 1996/03/30 21:47:11 christos Exp $ */
/*
@@ -70,7 +70,7 @@ struct ss_softc {
#define SSF_WAITING 0x04
struct scsi_link *sc_link; /* contains our targ, lun, etc. */
struct scan_io sio;
- struct buf buf_queue; /* the queue of pending IO operations */
+ struct buf sc_buf_queue; /* the queue of pending IO operations */
const struct quirkdata *quirkdata; /* if we have a rogue entry */
struct ss_special special; /* special handlers for spec. devices */
struct timeout timeout;
@@ -79,10 +79,6 @@ struct ss_softc {
u_int sc_start_count;
};
-struct buf *ss_buf_dequeue(struct ss_softc *);
-void ss_buf_enqueue(struct ss_softc *, struct buf *);
-void ss_buf_requeue(struct ss_softc *, struct buf *);
-
/*
* define the special attach routines if configured
*/