From: Gabor Juhos Date: Tue, 31 Jan 2012 18:34:10 +0000 (+0000) Subject: ramips: change vlan_config for the ALFA W502U board X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;hb=7b0cdfd36fb65e95567a02bf82388a559f9604c9 ramips: change vlan_config for the ALFA W502U board This change moves the WAN port into a separate VLAN. SVN-Revision: 29969 --- diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-w502u.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-w502u.c index 2c9cd4432b..c90884cac1 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-w502u.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-w502u.c @@ -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);