summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-01-31 18:34:10 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-01-31 18:34:10 +0000
commit44ed690cb321a0fe489d8f78bbfa4d40f3c412d8 (patch)
treecaf3db2d1ec3c326a71f74ce437ed1aab563f61b /target/linux
parentb3568b10c227e933f11b620e43a7a21f5019bf78 (diff)
downloadmtk-20170518-44ed690cb321a0fe489d8f78bbfa4d40f3c412d8.zip
mtk-20170518-44ed690cb321a0fe489d8f78bbfa4d40f3c412d8.tar.gz
mtk-20170518-44ed690cb321a0fe489d8f78bbfa4d40f3c412d8.tar.bz2
ramips: change vlan_config for the ALFA W502U board
This change moves the WAN port into a separate VLAN. SVN-Revision: 29969
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ramips/files/arch/mips/ralink/rt305x/mach-w502u.c2
1 files changed, 1 insertions, 1 deletions
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 2c9cd44..c90884c 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);