ar71xx: reset the phy chip along with the ethernet mac on the WP543 board
authorGabor Juhos <juhosg@openwrt.org>
Mon, 19 Oct 2009 08:07:32 +0000 (08:07 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Mon, 19 Oct 2009 08:07:32 +0000 (08:07 +0000)
SVN-Revision: 18072

target/linux/ar71xx/files/arch/mips/ar71xx/mach-wp543.c

index 067f0cedd11bebe468a4f950b9b4c2bde5fae4de..c644448144a388f1e483126e043eef1110986a58 100644 (file)
@@ -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();