ramips: change vlan_config for the ALFA W502U board
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 31 Jan 2012 18:34:10 +0000 (18:34 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 31 Jan 2012 18:34:10 +0000 (18:34 +0000)
This change moves the WAN port into a separate VLAN.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29969 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/ramips/files/arch/mips/ralink/rt305x/mach-w502u.c

index 2c9cd44..c90884c 100644 (file)
@@ -113,7 +113,7 @@ static void __init w502u_init(void)
                          RT305X_GPIO_MODE_UART0_SHIFT));
 
        rt305x_register_flash(0, &w502u_flash_data);
-       rt305x_esw_data.vlan_config = RT305X_ESW_VLAN_CONFIG_LLLLW;
+       rt305x_esw_data.vlan_config = RT305X_ESW_VLAN_CONFIG_WLLLL;
        rt305x_register_ethernet();
        ramips_register_gpio_leds(-1, ARRAY_SIZE(w502u_leds_gpio),
                                  w502u_leds_gpio);