ramips: register ethernet device on the DIR-300 board
authorGabor Juhos <juhosg@openwrt.org>
Sun, 25 Oct 2009 09:37:17 +0000 (09:37 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sun, 25 Oct 2009 09:37:17 +0000 (09:37 +0000)
SVN-Revision: 18143

target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dir-300-revb.c

index e807b94c7bca499bcf116e0c486c6c97757f634b..86152b99ed639767bd59ec62cd0cc2933f197879 100644 (file)
@@ -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);
 }