aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi/sas_ata.h
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2012-01-18 23:14:01 -0500
committerJames Bottomley <JBottomley@Parallels.com>2012-02-29 16:34:19 -0500
commit92625f9bff3853951cc75f5bc084ee67c1317d2f (patch)
tree9d5d2c89b99cdf73ec3c28703d0d5514e37ec73c /include/scsi/sas_ata.h
parentc666aae6919114d6cff789d79f80cfa85f3a7339 (diff)
[SCSI] libsas: restore scan order
ata devices are always scanned after ssp. Prior to the ata error handling reworks libsas would tend to scan devices in ascending expander phy order. Restore this ordering by deferring ssp discovery to a DISCE_PROBE event, and keep the probe order consistent with the discovery order, not the placement of sata devices. Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'include/scsi/sas_ata.h')
-rw-r--r--include/scsi/sas_ata.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/scsi/sas_ata.h b/include/scsi/sas_ata.h
index 0ca2f8a6bc60..1556eff4cc44 100644
--- a/include/scsi/sas_ata.h
+++ b/include/scsi/sas_ata.h
@@ -44,7 +44,6 @@ void sas_ata_task_abort(struct sas_task *task);
44void sas_ata_strategy_handler(struct Scsi_Host *shost); 44void sas_ata_strategy_handler(struct Scsi_Host *shost);
45void sas_ata_eh(struct Scsi_Host *shost, struct list_head *work_q, 45void sas_ata_eh(struct Scsi_Host *shost, struct list_head *work_q,
46 struct list_head *done_q); 46 struct list_head *done_q);
47void sas_probe_sata(struct work_struct *work);
48void sas_ata_schedule_reset(struct domain_device *dev); 47void sas_ata_schedule_reset(struct domain_device *dev);
49void sas_ata_wait_eh(struct domain_device *dev); 48void sas_ata_wait_eh(struct domain_device *dev);
50#else 49#else
@@ -72,10 +71,6 @@ static inline void sas_ata_eh(struct Scsi_Host *shost, struct list_head *work_q,
72{ 71{
73} 72}
74 73
75static inline void sas_probe_sata(struct work_struct *work)
76{
77}
78
79static inline void sas_ata_schedule_reset(struct domain_device *dev) 74static inline void sas_ata_schedule_reset(struct domain_device *dev)
80{ 75{
81} 76}