diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2011-08-15 14:11:43 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2011-08-15 14:11:43 +0000 |
commit | 1ebcf03789f49afd45a468c37fd61cb38558dc9f (patch) | |
tree | bf1f702b5df957303838d254da2aa13d960d72b9 /target/linux/ramips/files/arch/mips/ralink/rt305x/mach-pwh2004.c | |
parent | bb64fb2e58cdb2ea92120b9e63bdc4a8b03685cb (diff) | |
download | master-31e0f0ae-1ebcf03789f49afd45a468c37fd61cb38558dc9f.tar.gz master-31e0f0ae-1ebcf03789f49afd45a468c37fd61cb38558dc9f.tar.bz2 master-31e0f0ae-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-pwh2004.c')
-rw-r--r-- | target/linux/ramips/files/arch/mips/ralink/rt305x/mach-pwh2004.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-pwh2004.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-pwh2004.c index 03dc19221d..c321e11088 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-pwh2004.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-pwh2004.c @@ -95,6 +95,7 @@ static void __init pwh2004_init(void) ramips_register_gpio_buttons(-1, PWH2004_BUTTONS_POLL_INTERVAL, ARRAY_SIZE(pwh2004_gpio_buttons), pwh2004_gpio_buttons); + rt305x_esw_data.vlan_config = RT305X_ESW_VLAN_CONFIG_LLLLW; rt305x_register_ethernet(); rt305x_register_wifi(); rt305x_register_wdt(); |