libata: plumb sas port scan into standard libata paths
authorJames Bottomley <James.Bottomley@suse.de>
Sun, 23 Jan 2011 14:28:33 +0000 (08:28 -0600)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 2 Mar 2011 07:36:45 +0000 (02:36 -0500)
commit238c9cf9ea88bbbb9fd0f60c2cc9511c10b4585c
tree914d87dc521fc4bca4f91f7c432ddac9be17c9be
parenteb0e85e36b971ec31610eda7e3ff5c11c1c44785
libata: plumb sas port scan into standard libata paths

The function ata_sas_port_init() has always really done its own thing.
However, as a precursor to moving to the libata new eh, it has to be
properly using the standard libata scan paths.  This means separating
the current libata scan paths into pieces which can be shared with
libsas and pieces which cant (really just the async call and the host
scan).

Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-core.c
drivers/ata/libata-scsi.c
drivers/ata/libata.h