1menuconfig RT2X00
2	tristate "Ralink driver support"
3	depends on MAC80211 && HAS_DMA
4	---help---
5	  This will enable the support for the Ralink drivers,
6	  developed in the rt2x00 project <http://rt2x00.serialmonkey.com>.
7
8	  These drivers make use of the mac80211 stack.
9
10	  When building one of the individual drivers, the rt2x00 library
11	  will also be created. That library (when the driver is built as
12	  a module) will be called rt2x00lib.
13
14	  Additionally PCI and USB libraries will also be build depending
15	  on the types of drivers being selected, these libraries will be
16	  called rt2x00pci and rt2x00usb.
17
18if RT2X00
19
20config RT2400PCI
21	tristate "Ralink rt2400 (PCI/PCMCIA) support"
22	depends on PCI
23	select RT2X00_LIB_MMIO
24	select RT2X00_LIB_PCI
25	select EEPROM_93CX6
26	---help---
27	  This adds support for rt2400 wireless chipset family.
28	  Supported chips: RT2460.
29
30	  When compiled as a module, this driver will be called rt2400pci.
31
32config RT2500PCI
33	tristate "Ralink rt2500 (PCI/PCMCIA) support"
34	depends on PCI
35	select RT2X00_LIB_MMIO
36	select RT2X00_LIB_PCI
37	select EEPROM_93CX6
38	---help---
39	  This adds support for rt2500 wireless chipset family.
40	  Supported chips: RT2560.
41
42	  When compiled as a module, this driver will be called rt2500pci.
43
44config RT61PCI
45	tristate "Ralink rt2501/rt61 (PCI/PCMCIA) support"
46	depends on PCI
47	select RT2X00_LIB_PCI
48	select RT2X00_LIB_MMIO
49	select RT2X00_LIB_FIRMWARE
50	select RT2X00_LIB_CRYPTO
51	select CRC_ITU_T
52	select EEPROM_93CX6
53	---help---
54	  This adds support for rt2501 wireless chipset family.
55	  Supported chips: RT2561, RT2561S & RT2661.
56
57	  When compiled as a module, this driver will be called rt61pci.
58
59config RT2800PCI
60	tristate "Ralink rt27xx/rt28xx/rt30xx (PCI/PCIe/PCMCIA) support"
61	depends on PCI
62	select RT2800_LIB
63	select RT2800_LIB_MMIO
64	select RT2X00_LIB_MMIO
65	select RT2X00_LIB_PCI
66	select RT2X00_LIB_FIRMWARE
67	select RT2X00_LIB_CRYPTO
68	select CRC_CCITT
69	select EEPROM_93CX6
70	---help---
71	  This adds support for rt27xx/rt28xx/rt30xx wireless chipset family.
72	  Supported chips: RT2760, RT2790, RT2860, RT2880, RT2890, RT3052,
73			   RT3090, RT3091 & RT3092
74
75	  When compiled as a module, this driver will be called "rt2800pci.ko".
76
77if RT2800PCI
78
79config RT2800PCI_RT33XX
80	bool "rt2800pci - Include support for rt33xx devices"
81	default y
82	---help---
83	  This adds support for rt33xx wireless chipset family to the
84	  rt2800pci driver.
85	  Supported chips: RT3390
86
87config RT2800PCI_RT35XX
88	bool "rt2800pci - Include support for rt35xx devices (EXPERIMENTAL)"
89	default y
90	---help---
91	  This adds support for rt35xx wireless chipset family to the
92	  rt2800pci driver.
93	  Supported chips: RT3060, RT3062, RT3562, RT3592
94
95
96config RT2800PCI_RT53XX
97       bool "rt2800pci - Include support for rt53xx devices (EXPERIMENTAL)"
98       default y
99       ---help---
100         This adds support for rt53xx wireless chipset family to the
101         rt2800pci driver.
102         Supported chips: RT5390
103
104config RT2800PCI_RT3290
105       bool "rt2800pci - Include support for rt3290 devices (EXPERIMENTAL)"
106       default y
107       ---help---
108         This adds support for rt3290 wireless chipset family to the
109         rt2800pci driver.
110         Supported chips: RT3290
111endif
112
113config RT2500USB
114	tristate "Ralink rt2500 (USB) support"
115	depends on USB
116	select RT2X00_LIB_USB
117	select RT2X00_LIB_CRYPTO
118	---help---
119	  This adds support for rt2500 wireless chipset family.
120	  Supported chips: RT2571 & RT2572.
121
122	  When compiled as a module, this driver will be called rt2500usb.
123
124config RT73USB
125	tristate "Ralink rt2501/rt73 (USB) support"
126	depends on USB
127	select RT2X00_LIB_USB
128	select RT2X00_LIB_FIRMWARE
129	select RT2X00_LIB_CRYPTO
130	select CRC_ITU_T
131	---help---
132	  This adds support for rt2501 wireless chipset family.
133	  Supported chips: RT2571W, RT2573 & RT2671.
134
135	  When compiled as a module, this driver will be called rt73usb.
136
137config RT2800USB
138	tristate "Ralink rt27xx/rt28xx/rt30xx (USB) support"
139	depends on USB
140	select RT2800_LIB
141	select RT2X00_LIB_USB
142	select RT2X00_LIB_FIRMWARE
143	select RT2X00_LIB_CRYPTO
144	select CRC_CCITT
145	---help---
146	  This adds support for rt27xx/rt28xx/rt30xx wireless chipset family.
147	  Supported chips: RT2770, RT2870 & RT3070, RT3071 & RT3072
148
149	  When compiled as a module, this driver will be called "rt2800usb.ko".
150
151if RT2800USB
152
153config RT2800USB_RT33XX
154	bool "rt2800usb - Include support for rt33xx devices"
155	default y
156	---help---
157	  This adds support for rt33xx wireless chipset family to the
158	  rt2800usb driver.
159	  Supported chips: RT3370
160
161config RT2800USB_RT35XX
162	bool "rt2800usb - Include support for rt35xx devices (EXPERIMENTAL)"
163	default y
164	---help---
165	  This adds support for rt35xx wireless chipset family to the
166	  rt2800usb driver.
167	  Supported chips: RT3572
168
169config RT2800USB_RT3573
170	bool "rt2800usb - Include support for rt3573 devices (EXPERIMENTAL)"
171	---help---
172	  This enables support for RT3573 chipset based wireless USB devices
173	  in the rt2800usb driver.
174
175config RT2800USB_RT53XX
176       bool "rt2800usb - Include support for rt53xx devices (EXPERIMENTAL)"
177       ---help---
178         This adds support for rt53xx wireless chipset family to the
179         rt2800usb driver.
180         Supported chips: RT5370
181
182config RT2800USB_RT55XX
183       bool "rt2800usb - Include support for rt55xx devices (EXPERIMENTAL)"
184       ---help---
185         This adds support for rt55xx wireless chipset family to the
186         rt2800usb driver.
187         Supported chips: RT5572
188
189config RT2800USB_UNKNOWN
190	bool "rt2800usb - Include support for unknown (USB) devices"
191	default n
192	---help---
193	  This adds support for rt2800usb devices that are known to
194	  have a rt28xx family compatible chipset, but for which the exact
195	  chipset is unknown.
196
197	  Support status for these devices is unknown, and enabling these
198	  devices may or may not work.
199
200endif
201
202config RT2800SOC
203	tristate "Ralink WiSoC support"
204	depends on SOC_RT288X || SOC_RT305X || SOC_MT7620
205	select RT2X00_LIB_SOC
206	select RT2X00_LIB_MMIO
207	select RT2X00_LIB_CRYPTO
208	select RT2X00_LIB_FIRMWARE
209	select RT2800_LIB
210	select RT2800_LIB_MMIO
211	---help---
212	  This adds support for Ralink WiSoC devices.
213	  Supported chips: RT2880, RT3050, RT3052, RT3350, RT3352.
214
215	  When compiled as a module, this driver will be called rt2800soc.
216
217
218config RT2800_LIB
219	tristate
220
221config RT2800_LIB_MMIO
222	tristate
223	select RT2X00_LIB_MMIO
224	select RT2800_LIB
225
226config RT2X00_LIB_MMIO
227	tristate
228
229config RT2X00_LIB_PCI
230	tristate
231	select RT2X00_LIB
232
233config RT2X00_LIB_SOC
234	tristate
235	select RT2X00_LIB
236
237config RT2X00_LIB_USB
238	tristate
239	select RT2X00_LIB
240
241config RT2X00_LIB
242	tristate
243
244config RT2X00_LIB_FIRMWARE
245	bool
246	select FW_LOADER
247
248config RT2X00_LIB_CRYPTO
249	bool
250
251config RT2X00_LIB_LEDS
252	bool
253	default y if (RT2X00_LIB=y && LEDS_CLASS=y) || (RT2X00_LIB=m && LEDS_CLASS!=n)
254
255config RT2X00_LIB_DEBUGFS
256	bool "Ralink debugfs support"
257	depends on RT2X00_LIB && MAC80211_DEBUGFS
258	---help---
259	  Enable creation of debugfs files for the rt2x00 drivers.
260	  These debugfs files support both reading and writing of the
261	  most important register types of the rt2x00 hardware.
262
263config RT2X00_DEBUG
264	bool "Ralink debug output"
265	depends on RT2X00_LIB
266	---help---
267	  Enable debugging output for all rt2x00 modules
268
269endif
270