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)
commit3495de733633d24ee97852080b737b436c110d6e
treee4b521a1bc1563679185ae15f32a74c3e1ae3b88
parent93328e1145c1989d1a214d34ac4e968dea7f7ed7
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