libata: hardreset on SERR_INTERNAL
authorTejun Heo <htejun@gmail.com>
Tue, 13 Mar 2007 16:20:51 +0000 (01:20 +0900)
committerJeff Garzik <jeff@garzik.org>
Sat, 28 Apr 2007 18:15:59 +0000 (14:15 -0400)
commit771b8dad9653d2659e0ffcc237184cb16c317788
treea901d1c2eddd4396bcc2df46b87f2abb271bf2fd
parent176efb054422bffe6b5a34194ffad134366c7f7e
libata: hardreset on SERR_INTERNAL

There was a rare report where SB600 reported SERR_INTERNAL and SRST
couldn't get it out of the failure mode.  Hardreset on SERR_INTERNAL.
As the problem is intermittent, whether this fixes the problem or not
hasn't been verified yet, but hardresetting the channel on internal
error is a good idea anyway.

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