ar71xx: use the RB411 setup for the RB411U
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 21 Mar 2010 18:16:24 +0000 (18:16 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 21 Mar 2010 18:16:24 +0000 (18:16 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20359 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

index 0527e13..f3fa4cf 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();
 }