ar71xx: enable access to the WAN port PHY on a few devices, adds WAN link detection
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / files / arch / mips / ar71xx / mach-rb750.c
index 5ed383f9429e59c1fcbf938a3f1caaf558bcd129..547ad12d3f1d007500d7ee094a4e566ac5909991 100644 (file)
@@ -124,6 +124,7 @@ static void __init rb750_setup(void)
        ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RMII;
        ar71xx_eth0_data.speed = SPEED_100;
        ar71xx_eth0_data.duplex = DUPLEX_FULL;
+       ar71xx_eth0_data.phy_mask = BIT(4);
 
        /* LAN ports */
        ar71xx_eth1_data.phy_if_mode = PHY_INTERFACE_MODE_RMII;