aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-10-25 09:37:17 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-10-25 09:37:17 +0000
commit7af7711f9fe7850f0d293839260d05025cffc6b6 (patch)
tree3c8ab5b41d0a668ac4b580b674da8cf3a922631b /target/linux/ramips/files
parent2ad69183a8eb1789ea077cb56525d4055ac6b1fa (diff)
downloadupstream-7af7711f9fe7850f0d293839260d05025cffc6b6.tar.gz
upstream-7af7711f9fe7850f0d293839260d05025cffc6b6.tar.bz2
upstream-7af7711f9fe7850f0d293839260d05025cffc6b6.zip
ramips: register ethernet device on the DIR-300 board
SVN-Revision: 18143
Diffstat (limited to 'target/linux/ramips/files')
-rw-r--r--target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dir-300-revb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dir-300-revb.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dir-300-revb.c
index e807b94c7b..86152b99ed 100644
--- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dir-300-revb.c
+++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dir-300-revb.c
@@ -91,6 +91,7 @@ static void __init dir_300b_init(void)
rt305x_gpio_init(RT305X_GPIO_MODE_GPIO << RT305X_GPIO_MODE_UART0_SHIFT);
rt305x_register_flash(0, &dir_300b_flash_data);
+ rt305x_register_ethernet();
ramips_register_gpio_leds(-1, ARRAY_SIZE(dir_300b_leds_gpio),
dir_300b_leds_gpio);
}