aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/scsi/scsi_host.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/scsi/scsi_host.h b/include/scsi/scsi_host.h
index e618e711ea57..6d8945d71c65 100644
--- a/include/scsi/scsi_host.h
+++ b/include/scsi/scsi_host.h
@@ -241,6 +241,24 @@ struct scsi_host_template {
241 void (* target_destroy)(struct scsi_target *); 241 void (* target_destroy)(struct scsi_target *);
242 242
243 /* 243 /*
244 * If a host has the ability to discover targets on its own instead
245 * of scanning the entire bus, it can fill in this function and
246 * call scsi_scan_host(). This function will be called periodically
247 * until it returns 1 with the scsi_host and the elapsed time of
248 * the scan in jiffies.
249 *
250 * Status: OPTIONAL
251 */
252 int (* scan_finished)(struct Scsi_Host *, unsigned long);
253
254 /*
255 * If the host wants to be called before the scan starts, but
256 * after the midlayer has set up ready for the scan, it can fill
257 * in this function.
258 */
259 void (* scan_start)(struct Scsi_Host *);
260
261 /*
244 * fill in this function to allow the queue depth of this host 262 * fill in this function to allow the queue depth of this host
245 * to be changeable (on a per device basis). returns either 263 * to be changeable (on a per device basis). returns either
246 * the current queue depth setting (may be different from what 264 * the current queue depth setting (may be different from what