From: juhosg Date: Fri, 25 Nov 2011 07:34:00 +0000 (+0000) Subject: backfire: ar71xx: modify phy mask of the WP543 board (backport of r29328) X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=commitdiff_plain;h=ec6ddd66c5090d82d009d8dfe9ab6bd8fb178832 backfire: ar71xx: modify phy mask of the WP543 board (backport of r29328) This fixes ethernet on newer boards. Based on a patch from #9702. git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@29334 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 22585842e..deae947db 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wp543.c +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wp543.c @@ -76,10 +76,10 @@ static void __init wp543_setup(void) { ar71xx_add_device_m25p80(NULL); - ar71xx_add_device_mdio(0xfffffff7); + ar71xx_add_device_mdio(0xfffffff0); 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);