[libata] improve device scan
authorJeff Garzik <jgarzik@pobox.com>
Mon, 3 Oct 2005 19:55:19 +0000 (15:55 -0400)
committerJeff Garzik <jgarzik@pobox.com>
Mon, 3 Oct 2005 19:55:19 +0000 (15:55 -0400)
commit644dd0cc494702ecd0698f467de113ace9593888
treed49e781476dea85a4bfc1b05b6d15ed0a224a747
parent87e807b6c461bbd449496a4c3ab78ab164a4ba97
[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.
drivers/scsi/libata-core.c
drivers/scsi/libata-scsi.c
drivers/scsi/libata.h