X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/f019ef96de8c9d6af703469ae4e5ff4bde3f3f50..71c649d0975fb1113664c1a940f9b4257fc013d6:/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-pwh2004.c diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-pwh2004.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-pwh2004.c index e40c8a850..c321e1108 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-pwh2004.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-pwh2004.c @@ -49,7 +49,7 @@ static struct mtd_partition pwh2004_partitions[] = { .offset = 0x050000, .size = 0x7b0000, }, { - .name = "openwrt", + .name = "firmware", .offset = 0x050000, .size = 0x7b0000, } @@ -95,6 +95,7 @@ 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();