aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-11-20 11:30:10 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-11-20 11:30:10 +0000
commit9990523a0fd6b237ad10369a94b536d948482114 (patch)
treecb18c5f48c65d2080a751c5695a1ea619e137c51 /target
parent19694044e8741a6581efc4209c35daad72d10b75 (diff)
downloadupstream-9990523a0fd6b237ad10369a94b536d948482114.tar.gz
upstream-9990523a0fd6b237ad10369a94b536d948482114.tar.bz2
upstream-9990523a0fd6b237ad10369a94b536d948482114.zip
ar71xx: set GE0 phy_mask for AR933x
SVN-Revision: 29274
Diffstat (limited to 'target')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/devices.c2
1 files changed, 2 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 16cb4f1c3e..d71e473c75 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c
@@ -875,6 +875,8 @@ void __init ar71xx_add_device_eth(unsigned int id)
AR933X_RESET_GE0_MDIO;
pdata->ddr_flush = ar933x_ddr_flush_ge0;
pdata->set_speed = ar933x_set_speed_ge0;
+
+ pdata->phy_mask = BIT(4);
} else {
pdata->reset_bit = AR933X_RESET_GE1_MAC |
AR933X_RESET_GE1_MDIO;