diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-03-28 00:35:44 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-03-28 00:35:44 +0000 |
commit | 19f9c43c953548efdca1db329b4af05022ceb8d9 (patch) | |
tree | 1e8105542a49fbf3a1ebee63dfb44d376163a6ba /target/linux/ar71xx/files/arch/mips/ar71xx | |
parent | 05f3bb99df154273ffda1bbf90228b136edf7094 (diff) | |
download | upstream-19f9c43c953548efdca1db329b4af05022ceb8d9.tar.gz upstream-19f9c43c953548efdca1db329b4af05022ceb8d9.tar.bz2 upstream-19f9c43c953548efdca1db329b4af05022ceb8d9.zip |
ar71xx: reset the mdio bus on ar7241/ar7242
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20528 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/ar71xx')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ar71xx/devices.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c b/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c index a7714eef9f..f809deae55 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c @@ -436,9 +436,12 @@ void __init ar71xx_add_device_eth(unsigned int id) pdata->has_gbit = 1; break; - case AR71XX_SOC_AR7240: case AR71XX_SOC_AR7241: case AR71XX_SOC_AR7242: + ar71xx_eth0_data.reset_bit |= AR724X_RESET_GE0_MDIO; + ar71xx_eth1_data.reset_bit |= AR724X_RESET_GE1_MDIO; + /* fall through */ + case AR71XX_SOC_AR7240: pdata->ddr_flush = id ? ar724x_ddr_flush_ge1 : ar724x_ddr_flush_ge0; pdata->set_pll = id ? ar724x_set_pll_ge1 |