1
0
Fork 0

libata: fix IDENTIFY order in ata_bus_probe()

Commit f58229f806 accidentally made
ata_bus_probe() not use reverse order probing.  Fix it.

There currently isn't any PATA driver which uses obsolete
ata_bus_probe() path, so this patch is mainly for correctness.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
hifive-unleashed-5.1
Bartlomiej Zolnierkiewicz 2008-04-02 10:35:15 +09:00 committed by Jeff Garzik
parent e315c121a8
commit a4ba7fe2a6
1 changed files with 1 additions and 1 deletions

View File

@ -2660,7 +2660,7 @@ int ata_bus_probe(struct ata_port *ap)
specific sequence bass-ackwards so that PDIAG- is released by
the slave device */
ata_link_for_each_dev(dev, &ap->link) {
ata_link_for_each_dev_reverse(dev, &ap->link) {
if (tries[dev->devno])
dev->class = classes[dev->devno];