diff options
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c index 56af69d..37ce376 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c @@ -152,7 +152,7 @@ static void __init ubnt_rs_setup(void) { ubnt_generic_setup(); - ar71xx_add_device_mdio(~(UBNT_RS_WAN_PHYMASK | UBNT_RS_LAN_PHYMASK)); + ar71xx_add_device_mdio(0, ~(UBNT_RS_WAN_PHYMASK | UBNT_RS_LAN_PHYMASK)); ar71xx_init_mac(ar71xx_eth0_data.mac_addr, ar71xx_mac_base, 0); ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_MII; @@ -182,7 +182,7 @@ static void __init ubnt_rspro_setup(void) { ubnt_generic_setup(); - ar71xx_add_device_mdio(~(UBNT_RSPRO_WAN_PHYMASK | + ar71xx_add_device_mdio(0, ~(UBNT_RSPRO_WAN_PHYMASK | UBNT_RSPRO_LAN_PHYMASK)); ar71xx_init_mac(ar71xx_eth0_data.mac_addr, ar71xx_mac_base, 0); @@ -220,7 +220,7 @@ static void __init ubnt_lssr71_setup(void) { ubnt_generic_setup(); - ar71xx_add_device_mdio(~UBNT_LSSR71_PHY_MASK); + ar71xx_add_device_mdio(0, ~UBNT_LSSR71_PHY_MASK); ar71xx_init_mac(ar71xx_eth0_data.mac_addr, ar71xx_mac_base, 0); ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_MII; @@ -245,7 +245,7 @@ static void __init ubnt_m_setup(void) ar71xx_add_device_m25p80(NULL); - ar71xx_add_device_mdio(~UBNT_M_WAN_PHYMASK); + ar71xx_add_device_mdio(0, ~UBNT_M_WAN_PHYMASK); ar71xx_init_mac(ar71xx_eth0_data.mac_addr, mac1, 0); ar71xx_init_mac(ar71xx_eth1_data.mac_addr, mac2, 0); @@ -313,7 +313,7 @@ static void __init ubnt_unifi_setup(void) ar71xx_add_device_m25p80(NULL); - ar71xx_add_device_mdio(~UBNT_M_WAN_PHYMASK); + ar71xx_add_device_mdio(0, ~UBNT_M_WAN_PHYMASK); ar71xx_init_mac(ar71xx_eth0_data.mac_addr, mac, 0); ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RMII; |