diff options
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/ar71xx/mach-rb4xx.c')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ar71xx/mach-rb4xx.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-rb4xx.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-rb4xx.c index 88e29c080..1b9f96bce 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-rb4xx.c +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-rb4xx.c @@ -218,7 +218,7 @@ static void __init rb411_setup(void) spi_register_board_info(rb4xx_microsd_info, ARRAY_SIZE(rb4xx_microsd_info)); - ar71xx_add_device_mdio(0xfffffffc); + ar71xx_add_device_mdio(0, 0xfffffffc); ar71xx_init_mac(ar71xx_eth0_data.mac_addr, ar71xx_mac_base, 0); ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_MII; @@ -251,7 +251,7 @@ static void __init rb433_setup(void) spi_register_board_info(rb4xx_microsd_info, ARRAY_SIZE(rb4xx_microsd_info)); - ar71xx_add_device_mdio(~RB433_MDIO_PHYMASK); + ar71xx_add_device_mdio(0, ~RB433_MDIO_PHYMASK); ar71xx_init_mac(ar71xx_eth0_data.mac_addr, ar71xx_mac_base, 1); ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_MII; @@ -286,7 +286,7 @@ MIPS_MACHINE(AR71XX_MACH_RB_433U, "433U", "MikroTik RouterBOARD 433UAH", static void __init rb450_generic_setup(int gige) { rb4xx_generic_setup(); - ar71xx_add_device_mdio(~RB450_MDIO_PHYMASK); + ar71xx_add_device_mdio(0, ~RB450_MDIO_PHYMASK); ar71xx_init_mac(ar71xx_eth0_data.mac_addr, ar71xx_mac_base, 1); ar71xx_eth0_data.phy_if_mode = (gige) ? @@ -324,7 +324,7 @@ static void __init rb493_setup(void) { rb4xx_generic_setup(); - ar71xx_add_device_mdio(0x3fffff00); + ar71xx_add_device_mdio(0, 0x3fffff00); ar71xx_init_mac(ar71xx_eth0_data.mac_addr, ar71xx_mac_base, 0); ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_MII; @@ -376,7 +376,7 @@ static void __init rb493g_setup(void) platform_device_register(&rb4xx_spi_device); platform_device_register(&rb4xx_nand_device); - ar71xx_add_device_mdio(~RB493G_MDIO_PHYMASK); + ar71xx_add_device_mdio(0, ~RB493G_MDIO_PHYMASK); ar71xx_init_mac(ar71xx_eth0_data.mac_addr, ar71xx_mac_base, 0); ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RGMII; |