1 #ifndef __BCM47XX_BOARD_H
2 #define __BCM47XX_BOARD_H
3 
4 enum bcm47xx_board {
5 	BCM47XX_BOARD_ASUS_RTAC66U,
6 	BCM47XX_BOARD_ASUS_RTN10,
7 	BCM47XX_BOARD_ASUS_RTN10D,
8 	BCM47XX_BOARD_ASUS_RTN10U,
9 	BCM47XX_BOARD_ASUS_RTN12,
10 	BCM47XX_BOARD_ASUS_RTN12B1,
11 	BCM47XX_BOARD_ASUS_RTN12C1,
12 	BCM47XX_BOARD_ASUS_RTN12D1,
13 	BCM47XX_BOARD_ASUS_RTN12HP,
14 	BCM47XX_BOARD_ASUS_RTN15U,
15 	BCM47XX_BOARD_ASUS_RTN16,
16 	BCM47XX_BOARD_ASUS_RTN53,
17 	BCM47XX_BOARD_ASUS_RTN66U,
18 	BCM47XX_BOARD_ASUS_WL300G,
19 	BCM47XX_BOARD_ASUS_WL320GE,
20 	BCM47XX_BOARD_ASUS_WL330GE,
21 	BCM47XX_BOARD_ASUS_WL500G,
22 	BCM47XX_BOARD_ASUS_WL500GD,
23 	BCM47XX_BOARD_ASUS_WL500GPV1,
24 	BCM47XX_BOARD_ASUS_WL500GPV2,
25 	BCM47XX_BOARD_ASUS_WL500W,
26 	BCM47XX_BOARD_ASUS_WL520GC,
27 	BCM47XX_BOARD_ASUS_WL520GU,
28 	BCM47XX_BOARD_ASUS_WL700GE,
29 	BCM47XX_BOARD_ASUS_WLHDD,
30 
31 	BCM47XX_BOARD_BELKIN_F7D3301,
32 	BCM47XX_BOARD_BELKIN_F7D3302,
33 	BCM47XX_BOARD_BELKIN_F7D4301,
34 	BCM47XX_BOARD_BELKIN_F7D4302,
35 	BCM47XX_BOARD_BELKIN_F7D4401,
36 
37 	BCM47XX_BOARD_BUFFALO_WBR2_G54,
38 	BCM47XX_BOARD_BUFFALO_WHR2_A54G54,
39 	BCM47XX_BOARD_BUFFALO_WHR_G125,
40 	BCM47XX_BOARD_BUFFALO_WHR_G54S,
41 	BCM47XX_BOARD_BUFFALO_WHR_HP_G54,
42 	BCM47XX_BOARD_BUFFALO_WLA2_G54L,
43 	BCM47XX_BOARD_BUFFALO_WZR_G300N,
44 	BCM47XX_BOARD_BUFFALO_WZR_RS_G54,
45 	BCM47XX_BOARD_BUFFALO_WZR_RS_G54HP,
46 
47 	BCM47XX_BOARD_CISCO_M10V1,
48 	BCM47XX_BOARD_CISCO_M20V1,
49 
50 	BCM47XX_BOARD_DELL_TM2300,
51 
52 	BCM47XX_BOARD_DLINK_DIR130,
53 	BCM47XX_BOARD_DLINK_DIR330,
54 
55 	BCM47XX_BOARD_HUAWEI_E970,
56 
57 	BCM47XX_BOARD_LINKSYS_E900V1,
58 	BCM47XX_BOARD_LINKSYS_E1000V1,
59 	BCM47XX_BOARD_LINKSYS_E1000V2,
60 	BCM47XX_BOARD_LINKSYS_E1000V21,
61 	BCM47XX_BOARD_LINKSYS_E1200V2,
62 	BCM47XX_BOARD_LINKSYS_E2000V1,
63 	BCM47XX_BOARD_LINKSYS_E3000V1,
64 	BCM47XX_BOARD_LINKSYS_E3200V1,
65 	BCM47XX_BOARD_LINKSYS_E4200V1,
66 	BCM47XX_BOARD_LINKSYS_WRT150NV1,
67 	BCM47XX_BOARD_LINKSYS_WRT150NV11,
68 	BCM47XX_BOARD_LINKSYS_WRT160NV1,
69 	BCM47XX_BOARD_LINKSYS_WRT160NV3,
70 	BCM47XX_BOARD_LINKSYS_WRT300N_V1,
71 	BCM47XX_BOARD_LINKSYS_WRT300NV11,
72 	BCM47XX_BOARD_LINKSYS_WRT310NV1,
73 	BCM47XX_BOARD_LINKSYS_WRT310NV2,
74 	BCM47XX_BOARD_LINKSYS_WRT54G3GV2,
75 	BCM47XX_BOARD_LINKSYS_WRT54G_TYPE_0101,
76 	BCM47XX_BOARD_LINKSYS_WRT54G_TYPE_0467,
77 	BCM47XX_BOARD_LINKSYS_WRT54G_TYPE_0708,
78 	BCM47XX_BOARD_LINKSYS_WRT600N_V11,
79 	BCM47XX_BOARD_LINKSYS_WRT610NV1,
80 	BCM47XX_BOARD_LINKSYS_WRT610NV2,
81 	BCM47XX_BOARD_LINKSYS_WRTSL54GS,
82 
83 	BCM47XX_BOARD_MICROSOFT_MN700,
84 
85 	BCM47XX_BOARD_MOTOROLA_WE800G,
86 	BCM47XX_BOARD_MOTOROLA_WR850GP,
87 	BCM47XX_BOARD_MOTOROLA_WR850GV2V3,
88 
89 	BCM47XX_BOARD_NETGEAR_WGR614V8,
90 	BCM47XX_BOARD_NETGEAR_WGR614V9,
91 	BCM47XX_BOARD_NETGEAR_WGR614_V10,
92 	BCM47XX_BOARD_NETGEAR_WNDR3300,
93 	BCM47XX_BOARD_NETGEAR_WNDR3400V1,
94 	BCM47XX_BOARD_NETGEAR_WNDR3400V2,
95 	BCM47XX_BOARD_NETGEAR_WNDR3400_V3,
96 	BCM47XX_BOARD_NETGEAR_WNDR3400VCNA,
97 	BCM47XX_BOARD_NETGEAR_WNDR3700V3,
98 	BCM47XX_BOARD_NETGEAR_WNDR4000,
99 	BCM47XX_BOARD_NETGEAR_WNDR4500V1,
100 	BCM47XX_BOARD_NETGEAR_WNDR4500V2,
101 	BCM47XX_BOARD_NETGEAR_WNR2000,
102 	BCM47XX_BOARD_NETGEAR_WNR3500L,
103 	BCM47XX_BOARD_NETGEAR_WNR3500U,
104 	BCM47XX_BOARD_NETGEAR_WNR3500V2,
105 	BCM47XX_BOARD_NETGEAR_WNR3500V2VC,
106 	BCM47XX_BOARD_NETGEAR_WNR834BV2,
107 
108 	BCM47XX_BOARD_PHICOMM_M1,
109 
110 	BCM47XX_BOARD_SIEMENS_SE505V2,
111 
112 	BCM47XX_BOARD_SIMPLETECH_SIMPLESHARE,
113 
114 	BCM47XX_BOARD_ZTE_H218N,
115 
116 	BCM47XX_BOARD_UNKNOWN,
117 	BCM47XX_BOARD_NO,
118 };
119 
120 #define BCM47XX_BOARD_MAX_NAME 30
121 
122 void bcm47xx_board_detect(void);
123 enum bcm47xx_board bcm47xx_board_get(void);
124 const char *bcm47xx_board_get_name(void);
125 
126 #endif /* __BCM47XX_BOARD_H */
127