aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-11-03 15:11:09 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-11-03 15:11:09 +0000
commit85082a047ddb157787e37b0406d622ee66682f0c (patch)
tree3747be66d8d0c6157f6207cadd5c4900989bc919 /target
parent1cb52372bc8b7faf585d28b5a5ae4a2a987407d6 (diff)
downloadupstream-85082a047ddb157787e37b0406d622ee66682f0c.tar.gz
upstream-85082a047ddb157787e37b0406d622ee66682f0c.tar.bz2
upstream-85082a047ddb157787e37b0406d622ee66682f0c.zip
[ar71xx] enable ethernet and PCI on RB-493/AH
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13104 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-rb-4xx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-rb-4xx.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-rb-4xx.c
index d704d7dcaa..994bfed3d0 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-rb-4xx.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-rb-4xx.c
@@ -241,7 +241,6 @@ static void __init rb493_setup(void)
ar71xx_add_device_mdio(0x3fffff00);
-#if 0
ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_MII;
ar71xx_eth0_data.phy_mask = 0;
ar71xx_eth0_data.speed = SPEED_100;
@@ -252,7 +251,6 @@ static void __init rb493_setup(void)
ar71xx_add_device_eth(0);
ar71xx_add_device_eth(1);
-#endif
ar71xx_add_device_leds_gpio(-1, ARRAY_SIZE(rb4xx_leds_gpio),
rb4xx_leds_gpio);
@@ -262,6 +260,8 @@ static void __init rb493_setup(void)
rb4xx_gpio_buttons);
platform_device_register(&rb4xx_nand_device);
+
+ ar71xx_pci_init(ARRAY_SIZE(rb4xx_pci_irqs), rb4xx_pci_irqs);
}
MIPS_MACHINE(MACH_AR71XX_RB_493, "MikroTik RouterBOARD 493/AH", rb493_setup);