ramips: rt305x: add support for the ZyXEL NBG-419N board
[openwrt.git] / target / linux / ramips / files / arch / mips / ralink / rt305x / mach-pwh2004.c
index 090a797..c321e11 100644 (file)
@@ -49,7 +49,7 @@ static struct mtd_partition pwh2004_partitions[] = {
                .offset = 0x050000,
                .size   = 0x7b0000,
        }, {
-               .name   = "openwrt",
+               .name   = "firmware",
                .offset = 0x050000,
                .size   = 0x7b0000,
        }
@@ -95,8 +95,10 @@ static void __init pwh2004_init(void)
        ramips_register_gpio_buttons(-1, PWH2004_BUTTONS_POLL_INTERVAL,
                                     ARRAY_SIZE(pwh2004_gpio_buttons),
                                     pwh2004_gpio_buttons);
+       rt305x_esw_data.vlan_config = RT305X_ESW_VLAN_CONFIG_LLLLW;
        rt305x_register_ethernet();
        rt305x_register_wifi();
+       rt305x_register_wdt();
 }
 
 MIPS_MACHINE(RAMIPS_MACH_PWH2004, "PWH2004", "Prolink PWH2004",
This page took 0.022178 seconds and 4 git commands to generate.