Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
[linux-2.6] / drivers / net / wireless / rt2x00 / Kconfig
1 config RT2X00
2         tristate "Ralink driver support"
3         depends on MAC80211 && WLAN_80211 && EXPERIMENTAL
4         ---help---
5           This will enable the experimental 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.ko".
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.ko" and "rt2x00usb.ko".
17
18 if RT2X00
19
20 config RT2X00_LIB
21         tristate
22
23 config RT2X00_LIB_PCI
24         tristate
25         select RT2X00_LIB
26
27 config RT2X00_LIB_USB
28         tristate
29         select RT2X00_LIB
30
31 config RT2X00_LIB_FIRMWARE
32         boolean
33         depends on RT2X00_LIB
34         select FW_LOADER
35
36 config RT2X00_LIB_CRYPTO
37         boolean
38         depends on RT2X00_LIB
39
40 config RT2X00_LIB_RFKILL
41         boolean
42         depends on RT2X00_LIB
43         select RFKILL
44
45 config RT2X00_LIB_LEDS
46         boolean
47         depends on RT2X00_LIB && NEW_LEDS
48
49 config RT2400PCI
50         tristate "Ralink rt2400 (PCI/PCMCIA) support"
51         depends on PCI
52         select RT2X00_LIB_PCI
53         select EEPROM_93CX6
54         ---help---
55           This adds support for rt2400 wireless chipset family.
56           Supported chips: RT2460.
57
58           When compiled as a module, this driver will be called "rt2400pci.ko".
59
60 config RT2400PCI_RFKILL
61         bool "Ralink rt2400 rfkill support"
62         depends on RT2400PCI
63         select RT2X00_LIB_RFKILL
64         ---help---
65           This adds support for integrated rt2400 hardware that features a
66           hardware button to control the radio state.
67           This feature depends on the RF switch subsystem rfkill.
68
69 config RT2400PCI_LEDS
70         bool "Ralink rt2400 leds support"
71         depends on RT2400PCI && NEW_LEDS
72         select LEDS_CLASS
73         select RT2X00_LIB_LEDS
74         ---help---
75           This adds support for led triggers provided my mac80211.
76
77 config RT2500PCI
78         tristate "Ralink rt2500 (PCI/PCMCIA) support"
79         depends on PCI
80         select RT2X00_LIB_PCI
81         select EEPROM_93CX6
82         ---help---
83           This adds support for rt2500 wireless chipset family.
84           Supported chips: RT2560.
85
86           When compiled as a module, this driver will be called "rt2500pci.ko".
87
88 config RT2500PCI_RFKILL
89         bool "Ralink rt2500 rfkill support"
90         depends on RT2500PCI
91         select RT2X00_LIB_RFKILL
92         ---help---
93           This adds support for integrated rt2500 hardware that features a
94           hardware button to control the radio state.
95           This feature depends on the RF switch subsystem rfkill.
96
97 config RT2500PCI_LEDS
98         bool "Ralink rt2500 leds support"
99         depends on RT2500PCI && NEW_LEDS
100         select LEDS_CLASS
101         select RT2X00_LIB_LEDS
102         ---help---
103           This adds support for led triggers provided my mac80211.
104
105 config RT61PCI
106         tristate "Ralink rt2501/rt61 (PCI/PCMCIA) support"
107         depends on PCI
108         select RT2X00_LIB_PCI
109         select RT2X00_LIB_FIRMWARE
110         select RT2X00_LIB_CRYPTO
111         select CRC_ITU_T
112         select EEPROM_93CX6
113         ---help---
114           This adds support for rt2501 wireless chipset family.
115           Supported chips: RT2561, RT2561S & RT2661.
116
117           When compiled as a module, this driver will be called "rt61pci.ko".
118
119 config RT61PCI_RFKILL
120         bool "Ralink rt2501/rt61 rfkill support"
121         depends on RT61PCI
122         select RT2X00_LIB_RFKILL
123         ---help---
124           This adds support for integrated rt61 hardware that features a
125           hardware button to control the radio state.
126           This feature depends on the RF switch subsystem rfkill.
127
128 config RT61PCI_LEDS
129         bool "Ralink rt2501/rt61 leds support"
130         depends on RT61PCI && NEW_LEDS
131         select LEDS_CLASS
132         select RT2X00_LIB_LEDS
133         ---help---
134           This adds support for led triggers provided my mac80211.
135
136 config RT2500USB
137         tristate "Ralink rt2500 (USB) support"
138         depends on USB
139         select RT2X00_LIB_USB
140         ---help---
141           This adds support for rt2500 wireless chipset family.
142           Supported chips: RT2571 & RT2572.
143
144           When compiled as a module, this driver will be called "rt2500usb.ko".
145
146 config RT2500USB_LEDS
147         bool "Ralink rt2500 leds support"
148         depends on RT2500USB && NEW_LEDS
149         select LEDS_CLASS
150         select RT2X00_LIB_LEDS
151         ---help---
152           This adds support for led triggers provided my mac80211.
153
154 config RT73USB
155         tristate "Ralink rt2501/rt73 (USB) support"
156         depends on USB
157         select RT2X00_LIB_USB
158         select RT2X00_LIB_FIRMWARE
159         select RT2X00_LIB_CRYPTO
160         select CRC_ITU_T
161         ---help---
162           This adds support for rt2501 wireless chipset family.
163           Supported chips: RT2571W, RT2573 & RT2671.
164
165           When compiled as a module, this driver will be called "rt73usb.ko".
166
167 config RT73USB_LEDS
168         bool "Ralink rt2501/rt73 leds support"
169         depends on RT73USB && NEW_LEDS
170         select LEDS_CLASS
171         select RT2X00_LIB_LEDS
172         ---help---
173           This adds support for led triggers provided my mac80211.
174
175 config RT2X00_LIB_DEBUGFS
176         bool "Ralink debugfs support"
177         depends on RT2X00_LIB && MAC80211_DEBUGFS
178         ---help---
179           Enable creation of debugfs files for the rt2x00 drivers.
180           These debugfs files support both reading and writing of the
181           most important register types of the rt2x00 hardware.
182
183 config RT2X00_DEBUG
184         bool "Ralink debug output"
185         depends on RT2X00_LIB
186         ---help---
187           Enable debugging output for all rt2x00 modules
188
189 endif