diff options
author | Stephen M. Cameron <scameron@beardog.cce.hp.com> | 2010-02-04 15:43:16 +0100 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-02-17 20:22:16 +0100 |
commit | a08a8471b7aed3d50df8e9c852dc2baa08ec8b01 (patch) | |
tree | d32473715467a46fc39b6af9b3f889666a86a98f /drivers/scsi/hpsa.h | |
parent | [SCSI] hpsa: Add an shost_to_hba helper function. (diff) | |
download | linux-a08a8471b7aed3d50df8e9c852dc2baa08ec8b01.tar.xz linux-a08a8471b7aed3d50df8e9c852dc2baa08ec8b01.zip |
[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.h | 3 |
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 { int nr_frees; int busy_initializing; int busy_scanning; + int scan_finished; + spinlock_t scan_lock; + wait_queue_head_t scan_wait_queue; struct mutex busy_shutting_down; struct list_head scan_list; struct completion scan_wait; |