projects
/
openwrt
/
staging
/
ldir.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fcbada
)
ar71xx: set default values for the fifo cfg registers on AR724x
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 20 Jul 2010 01:54:11 +0000
(
01:54
+0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 20 Jul 2010 01:54:11 +0000
(
01:54
+0000)
SVN-Revision: 22303
target/linux/ar71xx/files/arch/mips/ar71xx/devices.c
patch
|
blob
|
history
diff --git
a/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c
b/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c
index f809deae55af5a279444c45f9c7f9db5d52a5326..6f1d2619efe3574a747aa18d0eebcc4f58c5fdc5 100644
(file)
--- a/
target/linux/ar71xx/files/arch/mips/ar71xx/devices.c
+++ b/
target/linux/ar71xx/files/arch/mips/ar71xx/devices.c
@@
-447,6
+447,13
@@
void __init ar71xx_add_device_eth(unsigned int id)
pdata->set_pll = id ? ar724x_set_pll_ge1
: ar724x_set_pll_ge0;
pdata->is_ar724x = 1;
+
+ if (!pdata->fifo_cfg1)
+ pdata->fifo_cfg1 = 0x0010ffff;
+ if (!pdata->fifo_cfg2)
+ pdata->fifo_cfg2 = 0x015500aa;
+ if (!pdata->fifo_cfg3)
+ pdata->fifo_cfg3 = 0x01f00140;
break;
case AR71XX_SOC_AR9130: