]> git.baikalelectronics.ru Git - kernel.git/commit
[libata] Issue SRST to Sil3726 PMP
authorGwendal Grignou <gwendal@google.com>
Thu, 20 Oct 2011 00:17:02 +0000 (17:17 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 9 Nov 2011 06:38:00 +0000 (01:38 -0500)
commit41c6890e9dfc2343c6798d1379aa0210e29d234b
tree75d599d93a0f9faeadb421e0c83d8533e293630a
parentbb1182fe777e4e08672f9486f6c521faa31dc318
[libata] Issue SRST to Sil3726 PMP

Reenable sending SRST to devices connected behind a Sil3726 PMP.
This allow staggered spinups and handles drives that spins up slowly.

While the drives spin up, the PMP will not accept SRST.
Most controller reissues the reset until the drive is ready, while
some [Sil3124] returns an error.
In ata_eh_error, wait 10s before reset the ATA port and try again.

Signed-off-by: Gwendal Grignou <gwendal@google.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-eh.c
drivers/ata/libata-pmp.c