rt2x00: convert RT2800PCI_PCI and RT2800PCI_SOC Kconfig symbols to booleans.
[safe/jmp/linux-2.6] / drivers / net / wireless / rt2x00 / Kconfig
1 menuconfig RT2X00
2         tristate "Ralink driver support"
3         depends on MAC80211
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
18 if RT2X00
19
20 config RT2400PCI
21         tristate "Ralink rt2400 (PCI/PCMCIA) support"
22         depends on PCI
23         select RT2X00_LIB_PCI
24         select EEPROM_93CX6
25         ---help---
26           This adds support for rt2400 wireless chipset family.
27           Supported chips: RT2460.
28
29           When compiled as a module, this driver will be called rt2400pci.
30
31 config RT2500PCI
32         tristate "Ralink rt2500 (PCI/PCMCIA) support"
33         depends on PCI
34         select RT2X00_LIB_PCI
35         select EEPROM_93CX6
36         ---help---
37           This adds support for rt2500 wireless chipset family.
38           Supported chips: RT2560.
39
40           When compiled as a module, this driver will be called rt2500pci.
41
42 config RT61PCI
43         tristate "Ralink rt2501/rt61 (PCI/PCMCIA) support"
44         depends on PCI
45         select RT2X00_LIB_PCI
46         select RT2X00_LIB_FIRMWARE
47         select RT2X00_LIB_CRYPTO
48         select CRC_ITU_T
49         select EEPROM_93CX6
50         ---help---
51           This adds support for rt2501 wireless chipset family.
52           Supported chips: RT2561, RT2561S & RT2661.
53
54           When compiled as a module, this driver will be called rt61pci.
55
56 config RT2800PCI_PCI
57         boolean
58         depends on PCI
59         default y
60
61 config RT2800PCI_SOC
62         boolean
63         depends on RALINK_RT288X || RALINK_RT305X
64         default y
65
66 config RT2800PCI
67         tristate "Ralink rt2800 (PCI/PCMCIA) support (VERY EXPERIMENTAL)"
68         depends on (RT2800PCI_PCI || RT2800PCI_SOC) && EXPERIMENTAL
69         select RT2800_LIB
70         select RT2X00_LIB_PCI if RT2800PCI_PCI
71         select RT2X00_LIB_SOC if RT2800PCI_SOC
72         select RT2X00_LIB_HT
73         select RT2X00_LIB_FIRMWARE
74         select RT2X00_LIB_CRYPTO
75         select CRC_CCITT
76         select EEPROM_93CX6
77         ---help---
78           This adds support for rt2800 wireless chipset family.
79           Supported chips: RT2760, RT2790, RT2860, RT2880, RT2890 & RT3052
80
81           This driver is non-functional at the moment and is intended for
82           developers.
83
84           When compiled as a module, this driver will be called "rt2800pci.ko".
85
86 config RT2500USB
87         tristate "Ralink rt2500 (USB) support"
88         depends on USB
89         select RT2X00_LIB_USB
90         select RT2X00_LIB_CRYPTO
91         ---help---
92           This adds support for rt2500 wireless chipset family.
93           Supported chips: RT2571 & RT2572.
94
95           When compiled as a module, this driver will be called rt2500usb.
96
97 config RT73USB
98         tristate "Ralink rt2501/rt73 (USB) support"
99         depends on USB
100         select RT2X00_LIB_USB
101         select RT2X00_LIB_FIRMWARE
102         select RT2X00_LIB_CRYPTO
103         select CRC_ITU_T
104         ---help---
105           This adds support for rt2501 wireless chipset family.
106           Supported chips: RT2571W, RT2573 & RT2671.
107
108           When compiled as a module, this driver will be called rt73usb.
109
110 config RT2800USB
111         tristate "Ralink rt2800 (USB) support (EXPERIMENTAL)"
112         depends on USB && EXPERIMENTAL
113         select RT2800_LIB
114         select RT2X00_LIB_USB
115         select RT2X00_LIB_HT
116         select RT2X00_LIB_FIRMWARE
117         select RT2X00_LIB_CRYPTO
118         select CRC_CCITT
119         ---help---
120           This adds experimental support for rt2800 wireless chipset family.
121           Supported chips: RT2770, RT2870 & RT3070.
122
123           Known issues:
124           - support for RT2870 chips doesn't work with 802.11n APs yet
125           - support for RT3070 chips is non-functional at the moment
126
127           When compiled as a module, this driver will be called "rt2800usb.ko".
128
129 config RT2800_LIB
130         tristate
131
132 config RT2X00_LIB_PCI
133         tristate
134         select RT2X00_LIB
135
136 config RT2X00_LIB_SOC
137         tristate
138         select RT2X00_LIB
139
140 config RT2X00_LIB_USB
141         tristate
142         select RT2X00_LIB
143
144 config RT2X00_LIB
145         tristate
146
147 config RT2X00_LIB_HT
148         boolean
149
150 config RT2X00_LIB_FIRMWARE
151         boolean
152         select FW_LOADER
153
154 config RT2X00_LIB_CRYPTO
155         boolean
156
157 config RT2X00_LIB_LEDS
158         boolean
159         default y if (RT2X00_LIB=y && LEDS_CLASS=y) || (RT2X00_LIB=m && LEDS_CLASS!=n)
160
161 comment "rt2x00 leds support disabled due to modularized LEDS_CLASS and built-in rt2x00"
162         depends on RT2X00_LIB=y && LEDS_CLASS=m
163
164 config RT2X00_LIB_DEBUGFS
165         bool "Ralink debugfs support"
166         depends on RT2X00_LIB && MAC80211_DEBUGFS
167         ---help---
168           Enable creation of debugfs files for the rt2x00 drivers.
169           These debugfs files support both reading and writing of the
170           most important register types of the rt2x00 hardware.
171
172 config RT2X00_DEBUG
173         bool "Ralink debug output"
174         depends on RT2X00_LIB
175         ---help---
176           Enable debugging output for all rt2x00 modules
177
178 endif