From: Gabor Juhos Date: Sun, 21 Mar 2010 18:16:24 +0000 (+0000) Subject: ar71xx: use the RB411 setup for the RB411U X-Git-Tag: reboot~20546 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=120b1d8699cfbfaafc0ef873ea638d7c5cd39442;p=oweals%2Fopenwrt.git ar71xx: use the RB411 setup for the RB411U SVN-Revision: 20359 --- 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 0527e13a9f..f3fa4cf30e 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-rb4xx.c +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-rb4xx.c @@ -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(); }