summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-11-24 20:09:43 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-11-24 20:09:43 +0000
commitf20797306a8b5605641491c203c0689d39ebeb34 (patch)
tree6f7379896c2ad374db76dca1ceb3b55dc812ed29 /target
parent6632e38d08fa1a11ad28699abf8aa6fbde6f1408 (diff)
downloadmaster-31e0f0ae-f20797306a8b5605641491c203c0689d39ebeb34.tar.gz
master-31e0f0ae-f20797306a8b5605641491c203c0689d39ebeb34.tar.bz2
master-31e0f0ae-f20797306a8b5605641491c203c0689d39ebeb34.zip
ar71xx: modify phy mask of the WP543 board
This fixes ethernet on newer boards. Based on a patch from #9702. SVN-Revision: 29328
Diffstat (limited to 'target')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-wp543.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wp543.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wp543.c
index 6a6ec1ced9..7a1c6b1976 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wp543.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wp543.c
@@ -77,11 +77,11 @@ static void __init wp543_setup(void)
{
ar71xx_add_device_m25p80(NULL);
- ar71xx_add_device_mdio(0, 0xfffffff7);
+ ar71xx_add_device_mdio(0, 0xfffffff0);
ar71xx_init_mac(ar71xx_eth0_data.mac_addr, ar71xx_mac_base, 0);
ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_MII;
- ar71xx_eth0_data.phy_mask = 0x08;
+ ar71xx_eth0_data.phy_mask = 0x0f;
ar71xx_eth0_data.reset_bit = RESET_MODULE_GE0_MAC |
RESET_MODULE_GE0_PHY;
ar71xx_add_device_eth(0);