From 8b59aa77866ae84e0026d422c20d802bb2145558 Mon Sep 17 00:00:00 2001 From: juhosg Date: Mon, 15 Aug 2011 14:11:43 +0000 Subject: ramips: allow to specify port layout for the switch of the RT305x/RT3350 Based on a patch by Roman Yeryomin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27990 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ramips/files/arch/mips/ralink/rt305x/mach-nw718.c | 1 + 1 file changed, 1 insertion(+) (limited to 'target/linux/ramips/files/arch/mips/ralink/rt305x/mach-nw718.c') diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-nw718.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-nw718.c index 09f6dc485..7107a8c50 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-nw718.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-nw718.c @@ -129,6 +129,7 @@ static void __init nw718_init(void) rt305x_gpio_init(RT305X_GPIO_MODE_I2C | RT305X_GPIO_MODE_GPIO << RT305X_GPIO_MODE_UART0_SHIFT); + rt305x_esw_data.vlan_config = RT305X_ESW_VLAN_CONFIG_LLLLW; rt305x_register_ethernet(); ramips_register_gpio_leds(-1, ARRAY_SIZE(nw718_leds_gpio), nw718_leds_gpio); -- cgit v1.2.3