projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51704c6
)
[PATCH] libata: PHY reset requires writing 0x4 to SControl
author
Martin Hicks
<mort@bork.org>
Wed, 5 Jul 2006 19:06:13 +0000
(15:06 -0400)
committer
Jeff Garzik
<jeff@garzik.org>
Thu, 10 Aug 2006 12:29:12 +0000
(08:29 -0400)
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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/libata-core.c
b/drivers/scsi/libata-core.c
index 16fc2dd8f2f7e3e7c17149c1764a153eea2c062a..73dd6c8deedec5d6f6e0f846bdeedce44f76ff69 100644
(file)
--- a/
drivers/scsi/libata-core.c
+++ b/
drivers/scsi/libata-core.c
@@
-2746,7
+2746,7
@@
int sata_std_hardreset(struct ata_port *ap, unsigned int *class)
if ((rc = sata_scr_read(ap, SCR_CONTROL, &scontrol)))
return rc;
- scontrol = (scontrol & 0x0f0) | 0x30
2
;
+ scontrol = (scontrol & 0x0f0) | 0x30
4
;
if ((rc = sata_scr_write(ap, SCR_CONTROL, scontrol)))
return rc;