[PATCH] libata: PHY reset requires writing 0x4 to SControl
authorMartin Hicks <mort@bork.org>
Wed, 5 Jul 2006 19:06:13 +0000 (15:06 -0400)
committerJeff Garzik <jeff@garzik.org>
Thu, 10 Aug 2006 12:29:12 +0000 (08:29 -0400)
commita34b6fc04d58ad72fe0cc74cd448f4551bd2ebaf
tree7cfcc47161c3231a204e40f1421807f579a57938
parent51704c609fcf256dacfcfae3622eb6ef53ac5b48
[PATCH] libata: PHY reset requires writing 0x4 to SControl

Hi,

Reading the Intel VSC and AHCI it seems like writing 0x302 is incorrect.
The only valid values are 4, 1 and 0.  Writing 4 disables the
PHY.

Signed-off-by: Martin Hicks <mort@bork.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/scsi/libata-core.c