aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
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
commita4409e091de0fc72c580150337363defd20e5eda (patch)
tree687976a080d2ec6c63b8b44ada345712f3061a14 /target/linux/ramips
parentfda1a60882238b2163f859bfe8a90d335ede7894 (diff)
downloadmaster-187ad058-a4409e091de0fc72c580150337363defd20e5eda.tar.gz
master-187ad058-a4409e091de0fc72c580150337363defd20e5eda.tar.bz2
master-187ad058-a4409e091de0fc72c580150337363defd20e5eda.zip
ramips: register ethernet device on the DIR-300 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18143 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips')
-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);
}