From 74bada8592edff251247becb186eaa62276ac718 Mon Sep 17 00:00:00 2001 From: juhosg Date: Sun, 20 Nov 2011 11:30:10 +0000 Subject: [PATCH] ar71xx: set GE0 phy_mask for AR933x git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29274 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/files/arch/mips/ar71xx/devices.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c b/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c index 16cb4f1c3..d71e473c7 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;