Root/target/linux/ramips/files/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
14enum {
15    RT305X_ESW_VLAN_CONFIG_NONE = 0,
16    RT305X_ESW_VLAN_CONFIG_BYPASS,
17    RT305X_ESW_VLAN_CONFIG_LLLLW,
18    RT305X_ESW_VLAN_CONFIG_WLLLL,
19};
20
21struct rt305x_esw_platform_data
22{
23    u8 vlan_config;
24    u32 reg_initval_fct2;
25    u32 reg_initval_fpa2;
26};
27
28#endif /* _RT305X_ESW_PLATFORM_H */
29

Archive Download this file



interactive