ar71xx: init PCI on the WRT400N board (thanks to Ben Pfountz for testing)
[oweals/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_DIR_615_C1
23         bool "D-Link DIR-615 rev. C1 support"
24         select AR71XX_DEV_M25P80
25         select AR71XX_DEV_AR913X_WMAC
26         select AR71XX_DEV_GPIO_BUTTONS
27         select AR71XX_DEV_LEDS_GPIO
28         select AR71XX_NVRAM
29         default n
30
31 config AR71XX_MACH_DIR_825_B1
32         bool "D-Link DIR-825 rev. B1 board support"
33         select AR71XX_DEV_M25P80
34         select AR71XX_DEV_AP94_PCI if PCI
35         select AR71XX_DEV_GPIO_BUTTONS
36         select AR71XX_DEV_LEDS_GPIO
37         select AR71XX_DEV_USB
38         default n
39
40 config AR71XX_MACH_PB42
41         bool "Atheros PB42 board support"
42         select AR71XX_DEV_M25P80
43         select AR71XX_DEV_GPIO_BUTTONS
44         select AR71XX_DEV_PB42_PCI if PCI
45         default n
46
47 config AR71XX_MACH_PB44
48         bool "Atheros PB44 board support"
49         select AR71XX_DEV_GPIO_BUTTONS
50         select AR71XX_DEV_PB42_PCI if PCI
51         select AR71XX_DEV_LEDS_GPIO
52         select AR71XX_DEV_USB
53         default n
54
55 config AR71XX_MACH_AW_NR580
56         bool "AzureWave AW-NR580 board support"
57         select AR71XX_DEV_M25P80
58         select AR71XX_DEV_GPIO_BUTTONS
59         select AR71XX_DEV_PB42_PCI if PCI
60         select AR71XX_DEV_LEDS_GPIO
61         default n
62
63 config AR71XX_MACH_GENERIC
64         bool "Generic AR71xx based machine support"
65         default y
66
67 config AR71XX_MACH_WP543
68         bool "Compex WP543/WPJ543 board support"
69         select MYLOADER
70         select AR71XX_DEV_M25P80
71         select AR71XX_DEV_GPIO_BUTTONS
72         select AR71XX_DEV_PB42_PCI if PCI
73         select AR71XX_DEV_LEDS_GPIO
74         select AR71XX_DEV_USB
75         default n
76
77 config AR71XX_MACH_WRT160NL
78         bool "Linksys WRT160NL board support"
79         select AR71XX_DEV_M25P80
80         select AR71XX_DEV_AR913X_WMAC
81         select AR71XX_DEV_GPIO_BUTTONS
82         select AR71XX_DEV_LEDS_GPIO
83         select AR71XX_DEV_USB
84         select AR71XX_NVRAM
85         default n
86
87 config AR71XX_MACH_WRT400N
88         bool "Linksys WRT400N board support"
89         select AR71XX_DEV_AP94_PCI if PCI
90         select AR71XX_DEV_M25P80
91         select AR71XX_DEV_GPIO_BUTTONS
92         select AR71XX_DEV_LEDS_GPIO
93         default n
94
95 config AR71XX_MACH_RB_4XX
96         bool "MikroTik RouterBOARD 4xx series support"
97         select AR71XX_DEV_GPIO_BUTTONS
98         select AR71XX_DEV_LEDS_GPIO
99         select AR71XX_DEV_USB
100         default n
101
102 config AR71XX_MACH_WNDR3700
103         bool "NETGEAR WNDR3700 board support"
104         select AR71XX_DEV_M25P80
105         select AR71XX_DEV_AP94_PCI if PCI
106         select AR71XX_DEV_GPIO_BUTTONS
107         select AR71XX_DEV_LEDS_GPIO
108         select AR71XX_DEV_USB
109         default n
110
111 config AR71XX_MACH_WNR2000
112         bool "NETGEAR WNR2000 board support"
113         select AR71XX_DEV_M25P80
114         select AR71XX_DEV_AR913X_WMAC
115         select AR71XX_DEV_GPIO_BUTTONS
116         select AR71XX_DEV_LEDS_GPIO
117         default n
118
119 config AR71XX_MACH_MZK_W04NU
120         bool "Planex MZK-W04NU board support"
121         select AR71XX_DEV_M25P80
122         select AR71XX_DEV_AR913X_WMAC
123         select AR71XX_DEV_GPIO_BUTTONS
124         select AR71XX_DEV_LEDS_GPIO
125         select AR71XX_DEV_USB
126         default n
127
128 config AR71XX_MACH_MZK_W300NH
129         bool "Planex MZK-W300NH board support"
130         select AR71XX_DEV_M25P80
131         select AR71XX_DEV_AR913X_WMAC
132         select AR71XX_DEV_GPIO_BUTTONS
133         select AR71XX_DEV_LEDS_GPIO
134         default n
135
136 config AR71XX_MACH_TL_WR741ND
137         bool "TP-LINK TL-WR741ND support"
138         select AR71XX_DEV_M25P80
139         select AR71XX_DEV_AP91_PCI if PCI
140         select AR71XX_DEV_GPIO_BUTTONS
141         select AR71XX_DEV_LEDS_GPIO
142         default n
143
144 config AR71XX_MACH_TL_WR841N_V1
145         bool "TP-LINK TL-WR841N v1 support"
146         select AR71XX_DEV_M25P80
147         select AR71XX_DEV_PB42_PCI if PCI
148         select AR71XX_DEV_DSA
149         select AR71XX_DEV_GPIO_BUTTONS
150         select AR71XX_DEV_LEDS_GPIO
151         default n
152
153 config AR71XX_MACH_TL_WR941ND
154         bool "TP-LINK TL-WR941ND support"
155         select AR71XX_DEV_M25P80
156         select AR71XX_DEV_AR913X_WMAC
157         select AR71XX_DEV_DSA
158         select AR71XX_DEV_GPIO_BUTTONS
159         select AR71XX_DEV_LEDS_GPIO
160         default n
161
162 config AR71XX_MACH_TL_WR1043ND
163         bool "TP-LINK TL-WR1043ND support"
164         select AR71XX_DEV_M25P80
165         select AR71XX_DEV_AR913X_WMAC
166         select AR71XX_DEV_GPIO_BUTTONS
167         select AR71XX_DEV_LEDS_GPIO
168         select AR71XX_DEV_USB
169         default n
170
171 config AR71XX_MACH_TEW_632BRP
172         bool "TRENDnet TEW-632BRP support"
173         select AR71XX_DEV_M25P80
174         select AR71XX_DEV_AR913X_WMAC
175         select AR71XX_DEV_GPIO_BUTTONS
176         select AR71XX_DEV_LEDS_GPIO
177         select AR71XX_NVRAM
178         default n
179
180 config AR71XX_MACH_UBNT
181         bool "Ubiquiti AR71xx based boards support"
182         select AR71XX_DEV_M25P80
183         select AR71XX_DEV_AP91_PCI if PCI
184         select AR71XX_DEV_GPIO_BUTTONS
185         select AR71XX_DEV_LEDS_GPIO
186         select AR71XX_DEV_PB42_PCI if PCI
187         select AR71XX_DEV_USB
188         default n
189
190 endmenu
191
192 config AR71XX_DEV_M25P80
193         def_bool n
194
195 config AR71XX_DEV_AP91_PCI
196         def_bool n
197
198 config AR71XX_DEV_AP94_PCI
199         def_bool n
200
201 config AR71XX_DEV_AR913X_WMAC
202         def_bool n
203
204 config AR71XX_DEV_DSA
205         def_bool n
206
207 config AR71XX_DEV_GPIO_BUTTONS
208         def_bool n
209
210 config AR71XX_DEV_LEDS_GPIO
211         def_bool n
212
213 config AR71XX_DEV_PB42_PCI
214         def_bool n
215
216 config AR71XX_DEV_USB
217         def_bool n
218
219 config AR71XX_NVRAM
220         def_bool n
221
222 endif