diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-10-03 15:55:19 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-10-03 15:55:19 -0400 |
commit | 644dd0cc494702ecd0698f467de113ace9593888 (patch) | |
tree | d49e781476dea85a4bfc1b05b6d15ed0a224a747 /drivers/scsi/libata-core.c | |
parent | 87e807b6c461bbd449496a4c3ab78ab164a4ba97 (diff) | |
download | blackbird-op-linux-644dd0cc494702ecd0698f467de113ace9593888.tar.gz blackbird-op-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.c | 2 |
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); |