MERGE-master-patchset-edits
[linux-2.6/openmoko-kernel.git] / drivers / net / wireless / rt2x00 / Kconfig
blob178b313293b4537a45d3f00f7e6a9b6078802439
1 menuconfig 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>.
8           These drivers make use of the mac80211 stack.
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".
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".
18 if RT2X00
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.
29           When compiled as a module, this driver will be called "rt2400pci.ko".
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.
40           When compiled as a module, this driver will be called "rt2500pci.ko".
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.
54           When compiled as a module, this driver will be called "rt61pci.ko".
56 config RT2500USB
57         tristate "Ralink rt2500 (USB) support"
58         depends on USB
59         select RT2X00_LIB_USB
60         select RT2X00_LIB_CRYPTO
61         ---help---
62           This adds support for rt2500 wireless chipset family.
63           Supported chips: RT2571 & RT2572.
65           When compiled as a module, this driver will be called "rt2500usb.ko".
67 config RT73USB
68         tristate "Ralink rt2501/rt73 (USB) support"
69         depends on USB
70         select RT2X00_LIB_USB
71         select RT2X00_LIB_FIRMWARE
72         select RT2X00_LIB_CRYPTO
73         select CRC_ITU_T
74         ---help---
75           This adds support for rt2501 wireless chipset family.
76           Supported chips: RT2571W, RT2573 & RT2671.
78           When compiled as a module, this driver will be called "rt73usb.ko".
80 config RT2X00_LIB_PCI
81         tristate
82         select RT2X00_LIB
84 config RT2X00_LIB_USB
85         tristate
86         select RT2X00_LIB
88 config RT2X00_LIB
89         tristate
91 config RT2X00_LIB_FIRMWARE
92         boolean
93         select FW_LOADER
95 config RT2X00_LIB_CRYPTO
96         boolean
98 config RT2X00_LIB_RFKILL
99         boolean
100         default y if (RT2X00_LIB=y && RFKILL=y) || (RT2X00_LIB=m && RFKILL!=n)
102 comment "rt2x00 rfkill support disabled due to modularized RFKILL and built-in rt2x00"
103         depends on RT2X00_LIB=y && RFKILL=m
105 config RT2X00_LIB_LEDS
106         boolean
107         default y if (RT2X00_LIB=y && LEDS_CLASS=y) || (RT2X00_LIB=m && LEDS_CLASS!=n)
109 comment "rt2x00 leds support disabled due to modularized LEDS_CLASS and built-in rt2x00"
110         depends on RT2X00_LIB=y && LEDS_CLASS=m
112 config RT2X00_LIB_DEBUGFS
113         bool "Ralink debugfs support"
114         depends on RT2X00_LIB && MAC80211_DEBUGFS
115         ---help---
116           Enable creation of debugfs files for the rt2x00 drivers.
117           These debugfs files support both reading and writing of the
118           most important register types of the rt2x00 hardware.
120 config RT2X00_DEBUG
121         bool "Ralink debug output"
122         depends on RT2X00_LIB
123         ---help---
124           Enable debugging output for all rt2x00 modules
126 endif