]> git.baikalelectronics.ru Git - kernel.git/commit
libata-pmp: update ata_eh_reset() for PMP
authorTejun Heo <htejun@gmail.com>
Sun, 23 Sep 2007 04:19:53 +0000 (13:19 +0900)
committerJeff Garzik <jeff@garzik.org>
Fri, 12 Oct 2007 18:55:43 +0000 (14:55 -0400)
commit999194d509e03d70e61c5a946865c657b86f04fd
treee4b521a1bc1563679185ae15f32a74c3e1ae3b88
parent66f757c11c95f4e9724a4bc2a0526ead91ae6ebd
libata-pmp: update ata_eh_reset() for PMP

PMP always requires SRST to be enabled.  Also, hardreset reports
classification code from the first device when PMP is attached, not
from the PMP.  Update ata_eh_reset() such that followup softreset is
performed if the controller is PMP capable and the host link is being
reset.

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