aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-rt-g32-revb.c
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-08-15 14:11:43 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-08-15 14:11:43 +0000
commit1ebcf03789f49afd45a468c37fd61cb38558dc9f (patch)
treebf1f702b5df957303838d254da2aa13d960d72b9 /target/linux/ramips/files/arch/mips/ralink/rt305x/mach-rt-g32-revb.c
parentbb64fb2e58cdb2ea92120b9e63bdc4a8b03685cb (diff)
downloadupstream-1ebcf03789f49afd45a468c37fd61cb38558dc9f.tar.gz
upstream-1ebcf03789f49afd45a468c37fd61cb38558dc9f.tar.bz2
upstream-1ebcf03789f49afd45a468c37fd61cb38558dc9f.zip
ramips: allow to specify port layout for the switch of the RT305x/RT3350
Based on a patch by Roman Yeryomin <roman@advem.lv> SVN-Revision: 27990
Diffstat (limited to 'target/linux/ramips/files/arch/mips/ralink/rt305x/mach-rt-g32-revb.c')
-rw-r--r--target/linux/ramips/files/arch/mips/ralink/rt305x/mach-rt-g32-revb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-rt-g32-revb.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-rt-g32-revb.c
index 8273c5ae3b..274466c210 100644
--- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-rt-g32-revb.c
+++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-rt-g32-revb.c
@@ -103,6 +103,7 @@ static void __init rt_g32b_init(void)
rt305x_register_spi(rt_g32b_spi_slave_info,
ARRAY_SIZE(rt_g32b_spi_slave_info));
+ rt305x_esw_data.vlan_config = RT305X_ESW_VLAN_CONFIG_LLLLW;
rt305x_register_ethernet();
ramips_register_gpio_buttons(-1, RT_G32B_BUTTONS_POLL_INTERVAL,
ARRAY_SIZE(rt_g32b_gpio_buttons),