ramips: allow to specify port layout for the switch of the RT305x/RT3350
[openwrt/svn-archive/archive.git] / target / linux / ramips / files / arch / mips / ralink / rt305x / mach-nw718.c
index 09f6dc485914b6c73b214824b03be4311c687ab8..7107a8c50adfa970e14d8cf0cfdf27d4a5b4dbf5 100644 (file)
@@ -129,6 +129,7 @@ static void __init nw718_init(void)
        rt305x_gpio_init(RT305X_GPIO_MODE_I2C |
                         RT305X_GPIO_MODE_GPIO << RT305X_GPIO_MODE_UART0_SHIFT);
 
+       rt305x_esw_data.vlan_config = RT305X_ESW_VLAN_CONFIG_LLLLW;
        rt305x_register_ethernet();
        ramips_register_gpio_leds(-1, ARRAY_SIZE(nw718_leds_gpio),
                                  nw718_leds_gpio);