]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
libata: ignore recovered PHY errors
authorTejun Heo <htejun@gmail.com>
Sun, 18 May 2008 16:15:09 +0000 (01:15 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Mon, 19 May 2008 21:51:47 +0000 (17:51 -0400)
commite0614db2a398d4d0dc5fb47fe2c2783141262a3e
tree57723d4765f04821c47e3e0859d90fc5d9ab51bc
parentf046519fc85a8fdf6a058b4ac9d897cdee6f3e52
libata: ignore recovered PHY errors

No reason to get overzealous about recovered comm and data errors.
Some PHYs habitually sets them w/o no good reason and being draconian
about these soft error conditions doesn't seem to help anybody.

If need ever rises, we might need to add soft PHY error condition, say
AC_ERR_MAYBE_ATA_BUS and use it only to determine whether speed down
is necessary but I don't think that's very likely to happen.  It's far
more likely we'll get timeouts or fatal transmission errors if
recovered errors are so prominent that they hamper operation.

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