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 --- .../files/arch/mips/include/asm/mach-ralink/rt305x_esw_platform.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'target/linux/ramips/files/arch/mips/include') diff --git a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt305x_esw_platform.h b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt305x_esw_platform.h index fd1f6eb19..97ee375eb 100644 --- a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt305x_esw_platform.h +++ b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt305x_esw_platform.h @@ -11,8 +11,15 @@ #ifndef _RT305X_ESW_PLATFORM_H #define _RT305X_ESW_PLATFORM_H +enum { + RT305X_ESW_VLAN_CONFIG_NONE = 0, + RT305X_ESW_VLAN_CONFIG_LLLLW, + RT305X_ESW_VLAN_CONFIG_WLLLL, +}; + struct rt305x_esw_platform_data { + u8 vlan_config; }; #endif /* _RT305X_ESW_PLATFORM_H */ -- cgit v1.2.3