]> err.no Git - linux-2.6/commit
libata: quickly trigger SATA SPD down after debouncing failed
authorTejun Heo <htejun@gmail.com>
Mon, 16 Jul 2007 05:29:40 +0000 (14:29 +0900)
committerJeff Garzik <jeff@garzik.org>
Fri, 20 Jul 2007 12:19:06 +0000 (08:19 -0400)
commitf1545154a5c96590b1992aac8ee1e2c445e301ed
treeedd95f465369d8597c40e7fdcc9513dea5fd2712
parent008a78961ec72990d09d7625ef9499d7317d040d
libata: quickly trigger SATA SPD down after debouncing failed

Debouncing failure is a good indicator of basic link problem.  Use
-EPIPE to indicate debouncing failure and make ata_eh_reset() invoke
sata_down_spd_limit() if the error occurs during reset.

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