summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-10-19 08:07:32 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-10-19 08:07:32 +0000
commitb1cd54b6b934c7b594cfe8600680c61b7ccfa42c (patch)
tree2d16045fe9e5b419070bbde10917be49d907aee8
parentebaa6a2fab0e5ad860d8f83b3f0e539e4458503b (diff)
downloadmaster-31e0f0ae-b1cd54b6b934c7b594cfe8600680c61b7ccfa42c.tar.gz
master-31e0f0ae-b1cd54b6b934c7b594cfe8600680c61b7ccfa42c.tar.bz2
master-31e0f0ae-b1cd54b6b934c7b594cfe8600680c61b7ccfa42c.zip
ar71xx: reset the phy chip along with the ethernet mac on the WP543 board
SVN-Revision: 18072
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-wp543.c2
1 files changed, 2 insertions, 0 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 067f0cedd1..c644448144 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wp543.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wp543.c
@@ -101,6 +101,8 @@ static void __init wp543_setup(void)
ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_MII;
ar71xx_eth0_data.phy_mask = 0x00000008;
+ ar71xx_eth0_data.reset_bit = RESET_MODULE_GE0_MAC |
+ RESET_MODULE_GE0_PHY;
ar71xx_add_device_eth(0);
ar71xx_add_device_usb();