summaryrefslogtreecommitdiffstats
path: root/include/linux/libata.h
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2006-05-31 18:28:05 +0900
committerTejun Heo <htejun@gmail.com>2006-05-31 18:28:05 +0900
commit580b2102327ab8444af5bde4e70b50d268a1d558 (patch)
tree01389e898e09dbaddb06405b182116b9be0e6d59 /include/linux/libata.h
parent084fe639b81c4d418a2cf714acb0475e3713cb73 (diff)
downloadblackbird-op-linux-580b2102327ab8444af5bde4e70b50d268a1d558.tar.gz
blackbird-op-linux-580b2102327ab8444af5bde4e70b50d268a1d558.zip
[PATCH] libata-hp: implement SCSI part of hotplug
Implement SCSI part of hotplug. This must be done in a separate context as SCSI makes use of EH during probing. SCSI scan fails silently if EH is in progress. In such cases, libata pauses briefly and retries until every device is attached. Signed-off-by: Tejun Heo <htejun@gmail.com>
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r--include/linux/libata.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index 56971943d261..407115624d9f 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -521,7 +521,7 @@ struct ata_port {
struct ata_host_set *host_set;
struct device *dev;
- struct work_struct port_task;
+ struct work_struct port_task, hotplug_task;
unsigned int hsm_task_state;
OpenPOWER on IntegriCloud