ar71xx: move ath9k specific PCI fixup into a separate file
[openwrt/openwrt.git] / target / linux / ar71xx / files / arch / mips / ar71xx / Kconfig
1 if ATHEROS_AR71XX
2
3 menu "Atheros AR71xx machine selection"
4
5 config AR71XX_MACH_AP81
6 bool "Atheros AP81 board support"
7 select AR71XX_DEV_M25P80
8 select AR71XX_DEV_AR913X_WMAC
9 select AR71XX_DEV_GPIO_BUTTONS
10 select AR71XX_DEV_LEDS_GPIO
11 select AR71XX_DEV_USB
12 default n
13
14 config AR71XX_MACH_AP83
15 bool "Atheros AP83 board support"
16 select AR71XX_DEV_AR913X_WMAC
17 select AR71XX_DEV_GPIO_BUTTONS
18 select AR71XX_DEV_LEDS_GPIO
19 select AR71XX_DEV_USB
20 default n
21
22 config AR71XX_MACH_AP96
23 bool "Atheros AP96 board support"
24 select AR71XX_DEV_M25P80
25 select AR71XX_DEV_AP94_PCI if PCI
26 select AR71XX_DEV_GPIO_BUTTONS
27 select AR71XX_DEV_LEDS_GPIO
28 select AR71XX_DEV_USB
29 default n
30
31 config AR71XX_MACH_DIR_600_A1
32 bool "D-Link DIR-600 rev. A1 support"
33 select AR71XX_DEV_AP91_ETH
34 select AR71XX_DEV_AP91_PCI if PCI
35 select AR71XX_DEV_M25P80
36 select AR71XX_DEV_GPIO_BUTTONS
37 select AR71XX_DEV_LEDS_GPIO
38 select AR71XX_NVRAM
39 default n
40
41 config AR71XX_MACH_DIR_615_C1
42 bool "D-Link DIR-615 rev. C1 support"
43 select AR71XX_DEV_M25P80
44 select AR71XX_DEV_AR913X_WMAC
45 select AR71XX_DEV_GPIO_BUTTONS
46 select AR71XX_DEV_LEDS_GPIO
47 select AR71XX_NVRAM
48 default n
49
50 config AR71XX_MACH_DIR_825_B1
51 bool "D-Link DIR-825 rev. B1 board support"
52 select AR71XX_DEV_M25P80
53 select AR71XX_DEV_AP94_PCI if PCI
54 select AR71XX_DEV_GPIO_BUTTONS
55 select AR71XX_DEV_LEDS_GPIO
56 select AR71XX_DEV_USB
57 default n
58
59 config AR71XX_MACH_PB42
60 bool "Atheros PB42 board support"
61 select AR71XX_DEV_M25P80
62 select AR71XX_DEV_GPIO_BUTTONS
63 select AR71XX_DEV_PB42_PCI if PCI
64 default n
65
66 config AR71XX_MACH_PB44
67 bool "Atheros PB44 board support"
68 select AR71XX_DEV_GPIO_BUTTONS
69 select AR71XX_DEV_PB42_PCI if PCI
70 select AR71XX_DEV_LEDS_GPIO
71 select AR71XX_DEV_USB
72 default n
73
74 config AR71XX_MACH_PB92
75 bool "Atheros PB92 board support"
76 select AR71XX_DEV_GPIO_BUTTONS
77 select AR71XX_DEV_PB9X_PCI if PCI
78 select AR71XX_DEV_LEDS_GPIO
79 select AR71XX_DEV_USB
80 default n
81
82 config AR71XX_MACH_AW_NR580
83 bool "AzureWave AW-NR580 board support"
84 select AR71XX_DEV_M25P80
85 select AR71XX_DEV_GPIO_BUTTONS
86 select AR71XX_DEV_PB42_PCI if PCI
87 select AR71XX_DEV_LEDS_GPIO
88 default n
89
90 config AR71XX_MACH_WZR_HP_G300NH
91 bool "Buffalo WZR-HP-G300NH board support"
92 select AR71XX_DEV_AR913X_WMAC
93 select AR71XX_DEV_GPIO_BUTTONS
94 select AR71XX_DEV_LEDS_GPIO
95 select AR71XX_DEV_USB
96 default y
97
98 config AR71XX_MACH_WP543
99 bool "Compex WP543/WPJ543 board support"
100 select MYLOADER
101 select AR71XX_DEV_M25P80
102 select AR71XX_DEV_GPIO_BUTTONS
103 select AR71XX_DEV_PB42_PCI if PCI
104 select AR71XX_DEV_LEDS_GPIO
105 select AR71XX_DEV_USB
106 default n
107
108 config AR71XX_MACH_WRT160NL
109 bool "Linksys WRT160NL board support"
110 select AR71XX_DEV_M25P80
111 select AR71XX_DEV_AR913X_WMAC
112 select AR71XX_DEV_GPIO_BUTTONS
113 select AR71XX_DEV_LEDS_GPIO
114 select AR71XX_DEV_USB
115 select AR71XX_NVRAM
116 default n
117
118 config AR71XX_MACH_WRT400N
119 bool "Linksys WRT400N board support"
120 select AR71XX_DEV_AP94_PCI if PCI
121 select AR71XX_DEV_M25P80
122 select AR71XX_DEV_GPIO_BUTTONS
123 select AR71XX_DEV_LEDS_GPIO
124 default n
125
126 config AR71XX_MACH_RB4XX
127 bool "MikroTik RouterBOARD 4xx series support"
128 select AR71XX_DEV_GPIO_BUTTONS
129 select AR71XX_DEV_LEDS_GPIO
130 select AR71XX_DEV_USB
131 default n
132
133 config AR71XX_MACH_RB750
134 bool "MikroTik RouterBOARD 750 support"
135 select AR71XX_DEV_AP91_ETH
136 default n
137
138 config AR71XX_MACH_WNDR3700
139 bool "NETGEAR WNDR3700 board support"
140 select AR71XX_DEV_M25P80
141 select AR71XX_DEV_AP94_PCI if PCI
142 select AR71XX_DEV_GPIO_BUTTONS
143 select AR71XX_DEV_LEDS_GPIO
144 select AR71XX_DEV_USB
145 default n
146
147 config AR71XX_MACH_WNR2000
148 bool "NETGEAR WNR2000 board support"
149 select AR71XX_DEV_M25P80
150 select AR71XX_DEV_AR913X_WMAC
151 select AR71XX_DEV_GPIO_BUTTONS
152 select AR71XX_DEV_LEDS_GPIO
153 default n
154
155 config AR71XX_MACH_MZK_W04NU
156 bool "Planex MZK-W04NU board support"
157 select AR71XX_DEV_M25P80
158 select AR71XX_DEV_AR913X_WMAC
159 select AR71XX_DEV_GPIO_BUTTONS
160 select AR71XX_DEV_LEDS_GPIO
161 select AR71XX_DEV_USB
162 default n
163
164 config AR71XX_MACH_MZK_W300NH
165 bool "Planex MZK-W300NH board support"
166 select AR71XX_DEV_M25P80
167 select AR71XX_DEV_AR913X_WMAC
168 select AR71XX_DEV_GPIO_BUTTONS
169 select AR71XX_DEV_LEDS_GPIO
170 default n
171
172 config AR71XX_MACH_NBG460N
173 bool "Zyxel NBG460N/550N/550NH board support"
174 select AR71XX_DEV_M25P80
175 select AR71XX_DEV_AR913X_WMAC
176 select AR71XX_DEV_GPIO_BUTTONS
177 select AR71XX_DEV_LEDS_GPIO
178 default n
179
180 config AR71XX_MACH_TL_WA901ND
181 bool "TP-LINK TL-WA901ND support"
182 select AR71XX_DEV_M25P80
183 select AR71XX_DEV_AP91_PCI if PCI
184 select AR71XX_DEV_DSA
185 select AR71XX_DEV_GPIO_BUTTONS
186 select AR71XX_DEV_LEDS_GPIO
187 default n
188
189 config AR71XX_MACH_TL_WR741ND
190 bool "TP-LINK TL-WR741ND support"
191 select AR71XX_DEV_M25P80
192 select AR71XX_DEV_AP91_PCI if PCI
193 select AR71XX_DEV_GPIO_BUTTONS
194 select AR71XX_DEV_LEDS_GPIO
195 default n
196
197 config AR71XX_MACH_TL_WR841N_V1
198 bool "TP-LINK TL-WR841N v1 support"
199 select AR71XX_DEV_M25P80
200 select AR71XX_DEV_PB42_PCI if PCI
201 select AR71XX_DEV_DSA
202 select AR71XX_DEV_GPIO_BUTTONS
203 select AR71XX_DEV_LEDS_GPIO
204 default n
205
206 config AR71XX_MACH_TL_WR941ND
207 bool "TP-LINK TL-WR941ND support"
208 select AR71XX_DEV_M25P80
209 select AR71XX_DEV_AR913X_WMAC
210 select AR71XX_DEV_DSA
211 select AR71XX_DEV_GPIO_BUTTONS
212 select AR71XX_DEV_LEDS_GPIO
213 default n
214
215 config AR71XX_MACH_TL_WR1043ND
216 bool "TP-LINK TL-WR1043ND support"
217 select AR71XX_DEV_M25P80
218 select AR71XX_DEV_AR913X_WMAC
219 select AR71XX_DEV_GPIO_BUTTONS
220 select AR71XX_DEV_LEDS_GPIO
221 select AR71XX_DEV_USB
222 default n
223
224 config AR71XX_MACH_TEW_632BRP
225 bool "TRENDnet TEW-632BRP support"
226 select AR71XX_DEV_M25P80
227 select AR71XX_DEV_AR913X_WMAC
228 select AR71XX_DEV_GPIO_BUTTONS
229 select AR71XX_DEV_LEDS_GPIO
230 select AR71XX_NVRAM
231 default n
232
233 config AR71XX_MACH_UBNT
234 bool "Ubiquiti AR71xx based boards support"
235 select AR71XX_DEV_M25P80
236 select AR71XX_DEV_AP91_PCI if PCI
237 select AR71XX_DEV_GPIO_BUTTONS
238 select AR71XX_DEV_LEDS_GPIO
239 select AR71XX_DEV_PB42_PCI if PCI
240 select AR71XX_DEV_USB
241 default n
242
243 config AR71XX_MACH_EAP7660D
244 bool "Senao EAP7660D support"
245 select AR71XX_DEV_M25P80
246 select AR71XX_DEV_GPIO_BUTTONS
247 select AR71XX_DEV_LEDS_GPIO
248 default n
249
250 config AR71XX_MACH_ZCN_1523H
251 bool "Zcomax ZCN-1523H support"
252 select AR71XX_DEV_M25P80
253 select AR71XX_DEV_AP91_PCI if PCI
254 select AR71XX_DEV_GPIO_BUTTONS
255 select AR71XX_DEV_LEDS_GPIO
256 default n
257
258 endmenu
259
260 config AR71XX_DEV_M25P80
261 def_bool n
262
263 config AR71XX_DEV_AP91_PCI
264 select AR71XX_PCI_ATH9K_FIXUP
265 def_bool n
266
267 config AR71XX_DEV_AP91_ETH
268 select AR71XX_DEV_DSA
269 def_bool n
270
271 config AR71XX_DEV_AP94_PCI
272 select AR71XX_PCI_ATH9K_FIXUP
273 def_bool n
274
275 config AR71XX_DEV_AR913X_WMAC
276 def_bool n
277
278 config AR71XX_DEV_DSA
279 def_bool n
280
281 config AR71XX_DEV_GPIO_BUTTONS
282 def_bool n
283
284 config AR71XX_DEV_LEDS_GPIO
285 def_bool n
286
287 config AR71XX_DEV_PB42_PCI
288 def_bool n
289
290 config AR71XX_DEV_PB9X_PCI
291 def_bool n
292
293 config AR71XX_DEV_USB
294 def_bool n
295
296 config AR71XX_NVRAM
297 def_bool n
298
299 config AR71XX_PCI_ATH9K_FIXUP
300 def_bool n
301
302 endif