diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-10-03 19:55:19 (GMT) |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-10-03 19:55:19 (GMT) |
commit | 644dd0cc494702ecd0698f467de113ace9593888 (patch) | |
tree | d49e781476dea85a4bfc1b05b6d15ed0a224a747 /drivers/scsi/libata-core.c | |
parent | 87e807b6c461bbd449496a4c3ab78ab164a4ba97 (diff) | |
download | linux-644dd0cc494702ecd0698f467de113ace9593888.tar.xz |
[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 e5b0199..902c763 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); |