summaryrefslogtreecommitdiff
path: root/drivers/ata/libata-eh.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-02-02 16:50:52 +0900
committerJeff Garzik <jeff@garzik.org>2007-05-01 07:49:54 -0400
commitb8cffc6ad8c000410186815b7bcc6b76ef1bbb13 (patch)
tree5f85107a671c03dab5030d00d51ad93295524996 /drivers/ata/libata-eh.c
parent9b89391cc861b8a1105551909eb66c024fe18ab2 (diff)
downloadlwn-b8cffc6ad8c000410186815b7bcc6b76ef1bbb13.tar.gz
lwn-b8cffc6ad8c000410186815b7bcc6b76ef1bbb13.zip
libata: improve ata_std_prereset()
This patch updates ata_std_prereset() as follows. * Don't fail on phy resume failure. Just whine and continue. Failure from prereset makes libata abort whole reset sequence and give up the port, so prereset() should be best effort. This is more important with the coming EH updates as prereset() will be called with shorter timeout. * If ata_wait_ready() fails, whine and request hardreset instead. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/libata-eh.c')
0 files changed, 0 insertions, 0 deletions