sata_fsl: Split hard and soft reset
authorJiang Yutang <b14898@freescale.com>
Fri, 16 Oct 2009 16:44:36 +0000 (20:44 +0400)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 19 Nov 2009 23:18:17 +0000 (18:18 -0500)
commita0a74d1ee2e38eb936a0437330da3a2fbc12b54e
tree3fe918157051e2f362ea4ecaf8cfef6d6d6ebe90
parent648f4e3e50c4793d9dbf9a09afa193631f76fa26
sata_fsl: Split hard and soft reset

Split sata_fsl_softreset() into hard and soft resets to make
error-handling more efficient & device and PMP detection more
reliable.

Also includes fix for PMP support, driver tested with Sil3726,
Sil4726 & Exar PMP controllers.

[AV: Also fixes resuming from deep sleep on MPC8315 CPUs]

Signed-off-by: Jiang Yutang <b14898@freescale.com>
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/sata_fsl.c