[SCSI] libsas: restore scan order
authorDan Williams <dan.j.williams@intel.com>
Thu, 19 Jan 2012 04:14:01 +0000 (20:14 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 29 Feb 2012 21:34:19 +0000 (15:34 -0600)
commit92625f9bff3853951cc75f5bc084ee67c1317d2f
tree9d5d2c89b99cdf73ec3c28703d0d5514e37ec73c
parentc666aae6919114d6cff789d79f80cfa85f3a7339
[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>
drivers/scsi/libsas/sas_ata.c
drivers/scsi/libsas/sas_discover.c
drivers/scsi/libsas/sas_expander.c
include/scsi/sas_ata.h