aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata-core.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-01 21:35:15 -0400
committerJeff Garzik <jeff@garzik.org>2008-04-04 02:43:33 -0400
commita4ba7fe2a6c2b61419b290035bff398ab2591c54 (patch)
tree0a2843a2bf692b1e19c16ec771cad262a94e6c58 /drivers/ata/libata-core.c
parente315c121a858499d84dc88c499046b9f10bb61ec (diff)
libata: fix IDENTIFY order in ata_bus_probe()
Commit f58229f8060055b08b34008ea08f31de1e2f003c 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>
Diffstat (limited to 'drivers/ata/libata-core.c')
-rw-r--r--drivers/ata/libata-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index 48519887f94a..2db5c9c9ca10 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -2660,7 +2660,7 @@ int ata_bus_probe(struct ata_port *ap)
2660 specific sequence bass-ackwards so that PDIAG- is released by 2660 specific sequence bass-ackwards so that PDIAG- is released by
2661 the slave device */ 2661 the slave device */
2662 2662
2663 ata_link_for_each_dev(dev, &ap->link) { 2663 ata_link_for_each_dev_reverse(dev, &ap->link) {
2664 if (tries[dev->devno]) 2664 if (tries[dev->devno])
2665 dev->class = classes[dev->devno]; 2665 dev->class = classes[dev->devno];
2666 2666