diff options
author | Tejun Heo <htejun@gmail.com> | 2006-05-31 05:28:05 -0400 |
---|---|---|
committer | Tejun Heo <htejun@gmail.com> | 2006-05-31 05:28:05 -0400 |
commit | 580b2102327ab8444af5bde4e70b50d268a1d558 (patch) | |
tree | 01389e898e09dbaddb06405b182116b9be0e6d59 /drivers/scsi/libata.h | |
parent | 084fe639b81c4d418a2cf714acb0475e3713cb73 (diff) |
[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 'drivers/scsi/libata.h')
-rw-r--r-- | drivers/scsi/libata.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/libata.h b/drivers/scsi/libata.h index e38759fdc183..0586b0cd73fd 100644 --- a/drivers/scsi/libata.h +++ b/drivers/scsi/libata.h | |||
@@ -76,6 +76,7 @@ extern struct scsi_transport_template ata_scsi_transport_template; | |||
76 | 76 | ||
77 | extern void ata_scsi_scan_host(struct ata_port *ap); | 77 | extern void ata_scsi_scan_host(struct ata_port *ap); |
78 | extern int ata_scsi_offline_dev(struct ata_device *dev); | 78 | extern int ata_scsi_offline_dev(struct ata_device *dev); |
79 | extern void ata_scsi_hotplug(void *data); | ||
79 | extern unsigned int ata_scsiop_inq_std(struct ata_scsi_args *args, u8 *rbuf, | 80 | extern unsigned int ata_scsiop_inq_std(struct ata_scsi_args *args, u8 *rbuf, |
80 | unsigned int buflen); | 81 | unsigned int buflen); |
81 | 82 | ||