summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files/arch/mips
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-08-29 10:37:47 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-08-29 10:37:47 +0000
commitc4ce5d343d1ab3d4029d0748c2f43e8ecb27d560 (patch)
tree6d537074138447fcbe22f3dea22d2c9d3d122ae8 /target/linux/ramips/files/arch/mips
parent2a86045d51df6e0893a4d8524c5ff454673b1b8c (diff)
ramips: make built-in switch transparent for ALL0256N and ALL5002
This allows them to transparently communicate with an external VLAN switch. Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33305 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/files/arch/mips')
-rw-r--r--target/linux/ramips/files/arch/mips/ralink/rt305x/mach-all0256n.c2
-rw-r--r--target/linux/ramips/files/arch/mips/ralink/rt305x/mach-all5002.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-all0256n.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-all0256n.c
index d30300e2d..7f5e00b41 100644
--- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-all0256n.c
+++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-all0256n.c
@@ -75,7 +75,7 @@ static void __init all0256n_init(void)
rt305x_gpio_init(RT305X_GPIO_MODE_GPIO << RT305X_GPIO_MODE_UART0_SHIFT);
rt305x_register_spi(all0256n_spi_slave_info,
ARRAY_SIZE(all0256n_spi_slave_info));
- rt305x_esw_data.vlan_config = RT305X_ESW_VLAN_CONFIG_WLLLL;
+ rt305x_esw_data.vlan_config = RT305X_ESW_VLAN_CONFIG_NONE;
rt305x_register_ethernet();
ramips_register_gpio_leds(-1, ARRAY_SIZE(all0256n_leds_gpio),
all0256n_leds_gpio);
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-all5002.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-all5002.c
index e9d1f41da..151671acb 100644
--- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-all5002.c
+++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-all5002.c
@@ -50,7 +50,7 @@ static void __init all5002_init(void)
rt305x_gpio_init(RT305X_GPIO_MODE_GPIO << RT305X_GPIO_MODE_UART0_SHIFT);
rt305x_register_spi(all5002_spi_slave_info,
ARRAY_SIZE(all5002_spi_slave_info));
- rt305x_esw_data.vlan_config = RT305X_ESW_VLAN_CONFIG_LLLLW;
+ rt305x_esw_data.vlan_config = RT305X_ESW_VLAN_CONFIG_NONE;
rt305x_register_ethernet();
rt305x_register_wifi();
rt305x_register_wdt();