summaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata-core.c
diff options
context:
space:
mode:
authorTejun Heo2009-01-29 12:31:29 +0100
committerJeff Garzik2009-02-03 05:02:57 +0100
commitd89293abd95bfd7dd9229087d6c30c1464c5ac83 (patch)
tree70cc96e6ad14bf6ddbddc5d824e2e104a7387f66 /drivers/ata/libata-core.c
parentsata_nv: ck804 has borked hardreset too (diff)
downloadkernel-qcow2-linux-d89293abd95bfd7dd9229087d6c30c1464c5ac83.tar.gz
kernel-qcow2-linux-d89293abd95bfd7dd9229087d6c30c1464c5ac83.tar.xz
kernel-qcow2-linux-d89293abd95bfd7dd9229087d6c30c1464c5ac83.zip
libata: fix EH device failure handling
The dev->pio_mode > XFER_PIO_0 test is there to avoid unnecessary speed down warning messages but it accidentally disabled SATA link spd down during configuration phase after reset where PIO mode is always zero. This patch fixes the problem by moving the test where it belongs. This makes libata probing sequence behave better when the connection is flaky at higher link speeds which isn't too uncommon for eSATA devices. Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/libata-core.c')
0 files changed, 0 insertions, 0 deletions