ramips: allow to specify port layout for the switch of the RT305x/RT3350
[openwrt/openwrt.git] / target / linux / ramips / files / arch / mips / ralink / rt305x / mach-f5d8235-v2.c
index b4062818ee2e0cb05a68117d4bfd16f2077b3837..7e218f7bd6e9e8acc931e80ac5698a3c05e15c0f 100644 (file)
@@ -132,6 +132,7 @@ static void __init f5d8235v2_init(void)
        rt305x_register_flash(0, &f5d8235v2_flash_data);
        ramips_register_gpio_leds(-1, ARRAY_SIZE(f5d8235v2_leds_gpio),
                                                f5d8235v2_leds_gpio);
+       rt305x_esw_data.vlan_config = RT305X_ESW_VLAN_CONFIG_NONE;
        rt305x_register_ethernet();
        platform_device_register(&f5d8235v2_switch);
        rt305x_register_wifi();