projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
520d3a1
)
ata/sata_fsl: Move MPC8315DS link speed limit workaround to specific ifdef
author
ashish kalra
<
[email protected]
>
Wed, 31 Oct 2007 11:28:02 +0000
(19:28 +0800)
committer
Jeff Garzik
<
[email protected]
>
Sat, 3 Nov 2007 12:46:28 +0000
(08:46 -0400)
Signed-off-by: ashish kalra <
[email protected]
>
Signed-off-by: Li Yang <
[email protected]
>
Signed-off-by: Jeff Garzik <
[email protected]
>
drivers/ata/sata_fsl.c
patch
|
blob
|
history
diff --git
a/drivers/ata/sata_fsl.c
b/drivers/ata/sata_fsl.c
index 5892472a568146fda09e36e7db9f8bdc0620fdc2..e076e1f2e4d1a85b6f795016a4169a7cabd49580 100644
(file)
--- a/
drivers/ata/sata_fsl.c
+++ b/
drivers/ata/sata_fsl.c
@@
-652,6
+652,7
@@
static int sata_fsl_port_start(struct ata_port *ap)
VPRINTK("HControl = 0x%x\n", ioread32(hcr_base + HCONTROL));
VPRINTK("CHBA = 0x%x\n", ioread32(hcr_base + CHBA));
+#ifdef CONFIG_MPC8315_DS
/*
* Workaround for 8315DS board 3gbps link-up issue,
* currently limit SATA port to GEN1 speed
@@
-664,6
+665,7
@@
static int sata_fsl_port_start(struct ata_port *ap)
sata_fsl_scr_read(ap, SCR_CONTROL, &temp);
dev_printk(KERN_WARNING, dev, "scr_control, speed limited to %x\n",
temp);
+#endif
return 0;
}