From 1ebcf03789f49afd45a468c37fd61cb38558dc9f Mon Sep 17 00:00:00 2001 From: Gabor Juhos 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 SVN-Revision: 27990 --- target/linux/ramips/files/arch/mips/ralink/rt305x/mach-fonera20n.c | 1 + 1 file changed, 1 insertion(+) (limited to 'target/linux/ramips/files/arch/mips/ralink/rt305x/mach-fonera20n.c') diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-fonera20n.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-fonera20n.c index bbf152fa86..544279509a 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-fonera20n.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-fonera20n.c @@ -118,6 +118,7 @@ static void __init fonera20n_init(void) ARRAY_SIZE(fonera20n_gpio_buttons), fonera20n_gpio_buttons); + rt305x_esw_data.vlan_config = RT305X_ESW_VLAN_CONFIG_LLLLW; rt305x_register_ethernet(); rt305x_register_wifi(); rt305x_register_wdt(); -- cgit v1.2.3