summaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata-scsi.c
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@suse.de>2011-01-23 15:28:33 +0100
committerJeff Garzik <jgarzik@redhat.com>2011-03-02 08:36:45 +0100
commit238c9cf9ea88bbbb9fd0f60c2cc9511c10b4585c (patch)
tree914d87dc521fc4bca4f91f7c432ddac9be17c9be /drivers/ata/libata-scsi.c
parentlibata: fix hotplug for drivers which don't implement LPM (diff)
downloadlinux-238c9cf9ea88bbbb9fd0f60c2cc9511c10b4585c.tar.xz
linux-238c9cf9ea88bbbb9fd0f60c2cc9511c10b4585c.zip
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>
Diffstat (limited to 'drivers/ata/libata-scsi.c')
-rw-r--r--drivers/ata/libata-scsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c
index 600f6353ecf8..e6ce765534ac 100644
--- a/drivers/ata/libata-scsi.c
+++ b/drivers/ata/libata-scsi.c
@@ -3821,7 +3821,7 @@ int ata_sas_port_init(struct ata_port *ap)
if (!rc) {
ap->print_id = ata_print_id++;
- rc = ata_bus_probe(ap);
+ rc = ata_port_probe(ap);
}
return rc;