]> git.baikalelectronics.ru Git - kernel.git/commit
libata: IDENTIFY backwards for drive side cable detection
authorTejun Heo <htejun@gmail.com>
Thu, 22 Mar 2007 13:24:19 +0000 (22:24 +0900)
committerJeff Garzik <jeff@garzik.org>
Wed, 28 Mar 2007 06:04:27 +0000 (02:04 -0400)
commita7db6c90c327b16f8d6f9ab0b165759d0696f44d
treec44fbfd5928ecd6329c3054fb88f04494d3508ef
parent3466d26c3bc3d37b95f0689bca7c59f7ed281737
libata: IDENTIFY backwards for drive side cable detection

For drive side cable detection to work correctly, drives need to be
identified backwards such that the slave device releases PDIAG- before
the mater drive tries to detect cable type.  ata_bus_probe() was fixed
by commit 23b919839a5de43116d6bee7b8dba1ed87bd7c74 but the new EH path
wasn't fixed.  This patch makes new EH path do IDENTIFY backwards.

ata_dev_configure() for new devices are still performed master first.
This is to keep the detection messages in forward order.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-eh.c