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 | 2fd3aff0adc78446d044d77846f0b717f7dfac89 (patch) | |
tree | 68ac32a88406812f317e374c550940bef76faa63 /target/linux/ramips/files/arch/mips/ralink/rt305x/mach-v22rw-2x2.c | |
parent | 0766dc945b55de7e79aac56ded6b79880c18aeed (diff) | |
download | master-187ad058-2fd3aff0adc78446d044d77846f0b717f7dfac89.tar.gz master-187ad058-2fd3aff0adc78446d044d77846f0b717f7dfac89.tar.bz2 master-187ad058-2fd3aff0adc78446d044d77846f0b717f7dfac89.zip |
ramips: allow to specify port layout for the switch of the RT305x/RT3350
Based on a patch by Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27990 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/files/arch/mips/ralink/rt305x/mach-v22rw-2x2.c')
-rw-r--r-- | target/linux/ramips/files/arch/mips/ralink/rt305x/mach-v22rw-2x2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-v22rw-2x2.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-v22rw-2x2.c index 382da755f9..b5883bb997 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-v22rw-2x2.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-v22rw-2x2.c @@ -104,6 +104,7 @@ static void __init v22rw_2x2_init(void) rt305x_gpio_init(RT305X_GPIO_MODE_GPIO << RT305X_GPIO_MODE_UART0_SHIFT); rt305x_register_flash(0, &v22rw_2x2_flash_data); + rt305x_esw_data.vlan_config = RT305X_ESW_VLAN_CONFIG_LLLLW; rt305x_register_ethernet(); ramips_register_gpio_leds(-1, ARRAY_SIZE(v22rw_2x2_leds_gpio), v22rw_2x2_leds_gpio); |