aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libata-core.c
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@pobox.com>2005-10-03 15:55:19 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-10-03 15:55:19 -0400
commit644dd0cc494702ecd0698f467de113ace9593888 (patch)
treed49e781476dea85a4bfc1b05b6d15ed0a224a747 /drivers/scsi/libata-core.c
parent87e807b6c461bbd449496a4c3ab78ab164a4ba97 (diff)
[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 e5b01997117..902c76364af 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)
4113 for (i = 0; i < count; i++) { 4113 for (i = 0; i < count; i++) {
4114 struct ata_port *ap = host_set->ports[i]; 4114 struct ata_port *ap = host_set->ports[i];
4115 4115
4116 scsi_scan_host(ap->host); 4116 ata_scsi_scan_host(ap);
4117 } 4117 }
4118 4118
4119 dev_set_drvdata(dev, host_set); 4119 dev_set_drvdata(dev, host_set);