summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libata-core.c
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@pobox.com>2005-10-03 21:55:19 +0200
committerJeff Garzik <jgarzik@pobox.com>2005-10-03 21:55:19 +0200
commit644dd0cc494702ecd0698f467de113ace9593888 (patch)
treed49e781476dea85a4bfc1b05b6d15ed0a224a747 /drivers/scsi/libata-core.c
parentMerge branch 'upstream' from master.kernel.org:/pub/scm/linux/kernel/git/jgar... (diff)
downloadlinux-644dd0cc494702ecd0698f467de113ace9593888.tar.xz
linux-644dd0cc494702ecd0698f467de113ace9593888.zip
[libata] improve device scan
Replace SCSI's legacy "bang at the door" method of probing with one directly controlled by the underlying ATA transport layer. We now only call scsi_scan_target() for devices we find, rather than probing every possible channel/id within a certain range.
Diffstat (limited to 'drivers/scsi/libata-core.c')
-rw-r--r--drivers/scsi/libata-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/libata-core.c b/drivers/scsi/libata-core.c
index e5b01997117a..902c76364af7 100644
--- a/drivers/scsi/libata-core.c
+++ b/drivers/scsi/libata-core.c
@@ -4113,7 +4113,7 @@ int ata_device_add(struct ata_probe_ent *ent)
for (i = 0; i < count; i++) {
struct ata_port *ap = host_set->ports[i];
- scsi_scan_host(ap->host);
+ ata_scsi_scan_host(ap);
}
dev_set_drvdata(dev, host_set);