ar71xx: change PHY select logic, and update phy_masks
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / files / arch / mips / ar71xx / mach-wp543.c
index bf8b9f562374ff14567c037606f10513d7d01fa2..22585842e20160320e0641a08b6ae6673f5f046a 100644 (file)
@@ -79,7 +79,7 @@ static void __init wp543_setup(void)
        ar71xx_add_device_mdio(0xfffffff7);
 
        ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_MII;
-       ar71xx_eth0_data.phy_mask = 0x00000008;
+       ar71xx_eth0_data.phy_mask = 0x08;
        ar71xx_eth0_data.reset_bit = RESET_MODULE_GE0_MAC |
                                     RESET_MODULE_GE0_PHY;
        ar71xx_add_device_eth(0);