ramips: properly setup the FEATURES variable
[openwrt.git] / target / linux / ramips / files-3.7 / arch / mips / include / asm / mach-ralink / rt305x_esw_platform.h
1 /*
2  *  Ralink RT305x SoC platform device registration
3  *
4  *  Copyright (C) 2010 Gabor Juhos <juhosg@openwrt.org>
5  *
6  *  This program is free software; you can redistribute it and/or modify it
7  *  under the terms of the GNU General Public License version 2 as published
8  *  by the Free Software Foundation.
9  */
10
11 #ifndef _RT305X_ESW_PLATFORM_H
12 #define _RT305X_ESW_PLATFORM_H
13
14 enum {
15         RT305X_ESW_VLAN_CONFIG_NONE = 0,
16         RT305X_ESW_VLAN_CONFIG_LLLLW,
17         RT305X_ESW_VLAN_CONFIG_WLLLL,
18 };
19
20 struct rt305x_esw_platform_data
21 {
22         u8 vlan_config;
23         u32 reg_initval_fct2;
24         u32 reg_initval_fpa2;
25 };
26
27 #endif /* _RT305X_ESW_PLATFORM_H */