diff options
author | Tejun Heo <htejun@gmail.com> | 2007-05-11 14:46:51 +0200 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-05-12 00:09:18 +0200 |
commit | 8575b814097af648dad284bd3087875a11b13d18 (patch) | |
tree | 33ee44f9bafab76229df2516c309f31fd6ef428d /drivers/ata/Kconfig | |
parent | libata: fallback to the other IDENTIFY on device error, take#2 (diff) | |
download | linux-8575b814097af648dad284bd3087875a11b13d18.tar.xz linux-8575b814097af648dad284bd3087875a11b13d18.zip |
libata: give devices one last chance even if recovery failed with -EINVAL
After certain errors, some devices report complete garbage on
IDENTIFY. This can cause ata_dev_read_id() to fail with -EINVAL
resulting in immediate disabling of the device. Give the device one
last chance after -EINVAL to allow recovery from such situations. As
-EINVAL is triggered very rarely, this shouldn't cause any noticeable
affect on more common error paths.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Harald Dunkel <harald.dunkel@t-online.de>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/Kconfig')
0 files changed, 0 insertions, 0 deletions