summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-21 18:16:24 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-21 18:16:24 +0000
commit8b81ef5e98b43ed1eb1df4dc23646db3ac3e0666 (patch)
treea0e4ef3c0df6454186fc07bfa59a9b01d4daca34 /target/linux/ar71xx/files
parente6e930942664682d11abe4ad7ccd0bada1afecfa (diff)
ar71xx: use the RB411 setup for the RB411U
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20359 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-rb4xx.c11
1 files changed, 1 insertions, 10 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 0527e13a9..f3fa4cf30 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();
}