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/include/asm/mach-ralink/rt305x_esw_platform.h | |
parent | 0766dc945b55de7e79aac56ded6b79880c18aeed (diff) | |
download | upstream-2fd3aff0adc78446d044d77846f0b717f7dfac89.tar.gz upstream-2fd3aff0adc78446d044d77846f0b717f7dfac89.tar.bz2 upstream-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/include/asm/mach-ralink/rt305x_esw_platform.h')
-rw-r--r-- | target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt305x_esw_platform.h | 7 |
1 files changed, 7 insertions, 0 deletions
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 fd1f6eb19a..97ee375eb7 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 */ |