ramips: register ethernet device on the WHR-G300N and V22RW-2x2 boards
authorGabor Juhos <juhosg@openwrt.org>
Fri, 30 Oct 2009 15:15:41 +0000 (15:15 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Fri, 30 Oct 2009 15:15:41 +0000 (15:15 +0000)
SVN-Revision: 18229

target/linux/ramips/files/arch/mips/ralink/rt305x/mach-v22rw-2x2.c
target/linux/ramips/files/arch/mips/ralink/rt305x/mach-whr-g300n.c

index 8bd2c956fd6a381c8edada257274b36b3b47fdc5..64466e2ee51945eb75aeb1a529585f906120bd31 100644 (file)
@@ -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);
 }
index 2c2f44469ba68eca0152cefffd8ecf6f04390ac1..e4c5988d604d3898ba6b357ab0c404bef4519e83 100644 (file)
@@ -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);
 }