libata: make sure PMP notification is turned off during recovery
authorTejun Heo <htejun@gmail.com>
Sun, 18 May 2008 16:15:11 +0000 (01:15 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Mon, 19 May 2008 21:51:48 +0000 (17:51 -0400)
commitf1bbfb90e81dd84d59de6370689ee6fe6a71fee0
treed4d8357816cbd578e967a2f0bd07f60f02a73a3d
parentbf1bff6fa9fdd4e92e57d80a5434fd5201c051fc
libata: make sure PMP notification is turned off during recovery

PMP notification during reset can make some controllers fail reset
processing and needs to be turned off during resets.  PMP attach and
full-revalidation path did this via sata_pmp_configure() but the quick
revalidation wasn't.  Move the notification disable code right above
fan-out port recovery so that it's always turned off.

This fixes obscure reset failures.

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