diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-07-20 01:54:11 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-07-20 01:54:11 +0000 |
commit | 7a9d13a75037c0cccec71873c453c5fb822926f8 (patch) | |
tree | c228568837df43ff9be9dad718cfa332ec004011 /target/linux/ar71xx/files | |
parent | 88b93d063f9a6ec4d38108748022797beae1e7c1 (diff) | |
download | master-187ad058-7a9d13a75037c0cccec71873c453c5fb822926f8.tar.gz master-187ad058-7a9d13a75037c0cccec71873c453c5fb822926f8.tar.bz2 master-187ad058-7a9d13a75037c0cccec71873c453c5fb822926f8.zip |
ar71xx: set default values for the fifo cfg registers on AR724x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22303 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ar71xx/devices.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c b/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c index f809deae55..6f1d2619ef 100644 --- 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: |