summaryrefslogtreecommitdiff
path: root/target/linux/ramips/files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-10-30 15:15:41 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-10-30 15:15:41 +0000
commitb624dec41b0ce3a243c3c3ecbc63b3f2ebd3b603 (patch)
treef36c473ab6ca5e124a8c3e7f5f6b5b2aedd14abc /target/linux/ramips/files
parent525c6661763ecf4d7cd381560a2559660d5bb4dc (diff)
downloadmtk-20170518-b624dec41b0ce3a243c3c3ecbc63b3f2ebd3b603.zip
mtk-20170518-b624dec41b0ce3a243c3c3ecbc63b3f2ebd3b603.tar.gz
mtk-20170518-b624dec41b0ce3a243c3c3ecbc63b3f2ebd3b603.tar.bz2
ramips: register ethernet device on the WHR-G300N and V22RW-2x2 boards
SVN-Revision: 18229
Diffstat (limited to 'target/linux/ramips/files')
-rw-r--r--target/linux/ramips/files/arch/mips/ralink/rt305x/mach-v22rw-2x2.c2
-rw-r--r--target/linux/ramips/files/arch/mips/ralink/rt305x/mach-whr-g300n.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-v22rw-2x2.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-v22rw-2x2.c
index 8bd2c95..64466e2 100644
--- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-v22rw-2x2.c
+++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-v22rw-2x2.c
@@ -85,7 +85,7 @@ static void __init v22rw_2x2_init(void)
rt305x_gpio_init(RT305X_GPIO_MODE_GPIO << RT305X_GPIO_MODE_UART0_SHIFT);
rt305x_register_flash(0, &v22rw_2x2_flash_data);
-
+ rt305x_register_ethernet();
ramips_register_gpio_leds(-1, ARRAY_SIZE(v22rw_2x2_leds_gpio),
v22rw_2x2_leds_gpio);
}
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-whr-g300n.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-whr-g300n.c
index 2c2f444..e4c5988 100644
--- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-whr-g300n.c
+++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-whr-g300n.c
@@ -92,7 +92,7 @@ static void __init whr_g300n_init(void)
rt305x_gpio_init(RT305X_GPIO_MODE_GPIO << RT305X_GPIO_MODE_UART0_SHIFT);
rt305x_register_flash(0, &whr_g300n_flash_data);
-
+ rt305x_register_ethernet();
ramips_register_gpio_leds(-1, ARRAY_SIZE(whr_g300n_leds_gpio),
whr_g300n_leds_gpio);
}