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 | 1ebcf03789f49afd45a468c37fd61cb38558dc9f (patch) | |
| tree | bf1f702b5df957303838d254da2aa13d960d72b9 /target/linux/ramips/files/arch/mips/include/asm | |
| parent | bb64fb2e58cdb2ea92120b9e63bdc4a8b03685cb (diff) | |
| download | mtk-20170518-1ebcf03789f49afd45a468c37fd61cb38558dc9f.zip mtk-20170518-1ebcf03789f49afd45a468c37fd61cb38558dc9f.tar.gz mtk-20170518-1ebcf03789f49afd45a468c37fd61cb38558dc9f.tar.bz2 | |
ramips: allow to specify port layout for the switch of the RT305x/RT3350
Based on a patch by Roman Yeryomin <roman@advem.lv>
SVN-Revision: 27990
Diffstat (limited to 'target/linux/ramips/files/arch/mips/include/asm')
| -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 fd1f6eb..97ee375 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 */ |
