summaryrefslogtreecommitdiff
path: root/sys/scsi/scsiconf.h
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2014-01-18 02:42:32 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2014-01-18 02:42:32 +0000
commit453ebf9344e915b7d477dc8d5f915462165e53c9 (patch)
tree751e7d9d4295323a0010d73d55966ce5d1434356 /sys/scsi/scsiconf.h
parent406fdcb2bd003043b638399e0d913b01cd28fb6b (diff)
rename scsi_ioh_runqueue to scsi_iopool_run, and make it available
outside scsi_base.c. this will allow adapters to restrict access to iopool resources based on some state, and then kick the pending requests on the pool when the state comes good again. ive been avoiding this for a long time, but it is the least worst way to deal with some uses of XS_NO_CCB. discussion with kettenis@ helped me decide this was right.
Diffstat (limited to 'sys/scsi/scsiconf.h')
-rw-r--r--sys/scsi/scsiconf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/scsi/scsiconf.h b/sys/scsi/scsiconf.h
index f6c0b7efbe0..7f9ade0f0a6 100644
--- a/sys/scsi/scsiconf.h
+++ b/sys/scsi/scsiconf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsiconf.h,v 1.157 2013/09/27 11:43:19 krw Exp $ */
+/* $OpenBSD: scsiconf.h,v 1.158 2014/01/18 02:42:31 dlg Exp $ */
/* $NetBSD: scsiconf.h,v 1.35 1997/04/02 02:29:38 mycroft Exp $ */
/*
@@ -541,6 +541,7 @@ void scsi_sense_print_debug(struct scsi_xfer *);
*/
void scsi_iopool_init(struct scsi_iopool *, void *,
void *(*)(void *), void (*)(void *, void *));
+void scsi_iopool_run(struct scsi_iopool *);
void scsi_iopool_destroy(struct scsi_iopool *);
void scsi_link_shutdown(struct scsi_link *);