aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi/scsi_host.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/scsi/scsi_host.h')
-rw-r--r--include/scsi/scsi_host.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/scsi/scsi_host.h b/include/scsi/scsi_host.h
index 6cbb1982ed03..467274a764d1 100644
--- a/include/scsi/scsi_host.h
+++ b/include/scsi/scsi_host.h
@@ -5,6 +5,7 @@
5#include <linux/list.h> 5#include <linux/list.h>
6#include <linux/types.h> 6#include <linux/types.h>
7#include <linux/workqueue.h> 7#include <linux/workqueue.h>
8#include <linux/mutex.h>
8 9
9struct block_device; 10struct block_device;
10struct completion; 11struct completion;
@@ -296,6 +297,12 @@ struct scsi_host_template {
296 int (*proc_info)(struct Scsi_Host *, char *, char **, off_t, int, int); 297 int (*proc_info)(struct Scsi_Host *, char *, char **, off_t, int, int);
297 298
298 /* 299 /*
300 * suspend support
301 */
302 int (*resume)(struct scsi_device *);
303 int (*suspend)(struct scsi_device *);
304
305 /*
299 * Name of proc directory 306 * Name of proc directory
300 */ 307 */
301 char *proc_name; 308 char *proc_name;
@@ -392,7 +399,6 @@ struct scsi_host_template {
392 /* 399 /*
393 * ordered write support 400 * ordered write support
394 */ 401 */
395 unsigned ordered_flush:1;
396 unsigned ordered_tag:1; 402 unsigned ordered_tag:1;
397 403
398 /* 404 /*
@@ -464,7 +470,7 @@ struct Scsi_Host {
464 spinlock_t default_lock; 470 spinlock_t default_lock;
465 spinlock_t *host_lock; 471 spinlock_t *host_lock;
466 472
467 struct semaphore scan_mutex;/* serialize scanning activity */ 473 struct mutex scan_mutex;/* serialize scanning activity */
468 474
469 struct list_head eh_cmd_q; 475 struct list_head eh_cmd_q;
470 struct task_struct * ehandler; /* Error recovery thread. */ 476 struct task_struct * ehandler; /* Error recovery thread. */