ar71xx: use the RB411 setup for the RB411U
authorGabor Juhos <juhosg@openwrt.org>
Sun, 21 Mar 2010 18:16:24 +0000 (18:16 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sun, 21 Mar 2010 18:16:24 +0000 (18:16 +0000)
SVN-Revision: 20359

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

index 0527e13a9f282aa0e8b789cf225590f769d0810e..f3fa4cf30e5ad4d8470c8b753706ce56023b527e 100644 (file)
@@ -192,16 +192,7 @@ MIPS_MACHINE(AR71XX_MACH_RB_411, "411", "MikroTik RouterBOARD 411/A/AH",
 
 static void __init rb411u_setup(void)
 {
-       rb4xx_generic_setup();
-       rb4xx_add_device_spi();
-
-       ar71xx_add_device_mdio(0xfffffffd);
-
-       ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_MII;
-       ar71xx_eth0_data.phy_mask = 0x00000002;
-       ar71xx_add_device_eth(0);
-
-       ar71xx_pci_init(ARRAY_SIZE(rb4xx_pci_irqs), rb4xx_pci_irqs);
+       rb411_setup();
        ar71xx_add_device_usb();
 }