aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/hpsa.h
diff options
context:
space:
mode:
authorStephen M. Cameron <scameron@beardog.cce.hp.com>2010-02-04 09:43:16 -0500
committerJames Bottomley <James.Bottomley@suse.de>2010-02-17 14:22:16 -0500
commita08a8471b7aed3d50df8e9c852dc2baa08ec8b01 (patch)
treed32473715467a46fc39b6af9b3f889666a86a98f /drivers/scsi/hpsa.h
parenta23513e8413e02b7e34e96a03d6bfd1c1948ac00 (diff)
[SCSI] hpsa: use scan_start and scan_finished entry points for scanning
use scan_start and scan_finished entry points for scanning and route the CCISS_REGNEWD ioctl and sysfs triggering of same functionality through hpsa_scan_start. Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/hpsa.h')
-rw-r--r--drivers/scsi/hpsa.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/hpsa.h b/drivers/scsi/hpsa.h
index 1ab0c1bbd27e..a0502b3ac17e 100644
--- a/drivers/scsi/hpsa.h
+++ b/drivers/scsi/hpsa.h
@@ -94,6 +94,9 @@ struct ctlr_info {
94 int nr_frees; 94 int nr_frees;
95 int busy_initializing; 95 int busy_initializing;
96 int busy_scanning; 96 int busy_scanning;
97 int scan_finished;
98 spinlock_t scan_lock;
99 wait_queue_head_t scan_wait_queue;
97 struct mutex busy_shutting_down; 100 struct mutex busy_shutting_down;
98 struct list_head scan_list; 101 struct list_head scan_list;
99 struct completion scan_wait; 102 struct completion scan_wait;