Merge branch 'bugzilla-11715' into test
[linux-2.6] / drivers / net / wireless / rt2x00 / Kconfig
CommitLineData
4c99f3e4
GW
1menuconfig RT2X00
2 bool "Ralink driver support"
95ea3627
ID
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
3a4d3af7 8 These drivers make use of the mac80211 stack.
95ea3627
ID
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
3a4d3af7
ID
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
0d84d78d
RD
18if RT2X00
19
95ea3627 20config RT2400PCI
3a4d3af7 21 tristate "Ralink rt2400 (PCI/PCMCIA) support"
0d84d78d 22 depends on PCI
95ea3627
ID
23 select RT2X00_LIB_PCI
24 select EEPROM_93CX6
25 ---help---
3a4d3af7
ID
26 This adds support for rt2400 wireless chipset family.
27 Supported chips: RT2460.
95ea3627
ID
28
29 When compiled as a module, this driver will be called "rt2400pci.ko".
30
95ea3627 31config RT2500PCI
3a4d3af7 32 tristate "Ralink rt2500 (PCI/PCMCIA) support"
0d84d78d 33 depends on PCI
95ea3627
ID
34 select RT2X00_LIB_PCI
35 select EEPROM_93CX6
36 ---help---
3a4d3af7
ID
37 This adds support for rt2500 wireless chipset family.
38 Supported chips: RT2560.
95ea3627
ID
39
40 When compiled as a module, this driver will be called "rt2500pci.ko".
41
95ea3627 42config RT61PCI
3a4d3af7 43 tristate "Ralink rt2501/rt61 (PCI/PCMCIA) support"
0d84d78d 44 depends on PCI
95ea3627
ID
45 select RT2X00_LIB_PCI
46 select RT2X00_LIB_FIRMWARE
61e754f4 47 select RT2X00_LIB_CRYPTO
a7f3a06c 48 select CRC_ITU_T
95ea3627
ID
49 select EEPROM_93CX6
50 ---help---
3a4d3af7
ID
51 This adds support for rt2501 wireless chipset family.
52 Supported chips: RT2561, RT2561S & RT2661.
95ea3627
ID
53
54 When compiled as a module, this driver will be called "rt61pci.ko".
55
95ea3627 56config RT2500USB
3a4d3af7 57 tristate "Ralink rt2500 (USB) support"
0d84d78d 58 depends on USB
95ea3627
ID
59 select RT2X00_LIB_USB
60 ---help---
3a4d3af7
ID
61 This adds support for rt2500 wireless chipset family.
62 Supported chips: RT2571 & RT2572.
95ea3627
ID
63
64 When compiled as a module, this driver will be called "rt2500usb.ko".
65
66config RT73USB
3a4d3af7 67 tristate "Ralink rt2501/rt73 (USB) support"
0d84d78d 68 depends on USB
95ea3627
ID
69 select RT2X00_LIB_USB
70 select RT2X00_LIB_FIRMWARE
906c110f 71 select RT2X00_LIB_CRYPTO
a7f3a06c 72 select CRC_ITU_T
95ea3627 73 ---help---
3a4d3af7
ID
74 This adds support for rt2501 wireless chipset family.
75 Supported chips: RT2571W, RT2573 & RT2671.
95ea3627
ID
76
77 When compiled as a module, this driver will be called "rt73usb.ko".
78
4c99f3e4
GW
79config RT2X00_LIB_PCI
80 tristate
81 select RT2X00_LIB
82
83config RT2X00_LIB_USB
84 tristate
85 select RT2X00_LIB
86
87config RT2X00_LIB
88 tristate
89
90config RT2X00_LIB_FIRMWARE
91 boolean
92 select FW_LOADER
93
94config RT2X00_LIB_CRYPTO
95 boolean
96
97config RT2X00_LIB_RFKILL
98 boolean
99 default y if (RT2X00_LIB=y && RFKILL=y) || (RT2X00_LIB=m && RFKILL!=n)
100
101comment "rt2x00 rfkill support disabled due to modularized RFKILL and built-in rt2x00"
102 depends on RT2X00_LIB=y && RFKILL=m
103
104config RT2X00_LIB_LEDS
105 boolean
106 default y if (RT2X00_LIB=y && LEDS_CLASS=y) || (RT2X00_LIB=m && LEDS_CLASS!=n)
107
108comment "rt2x00 leds support disabled due to modularized LEDS_CLASS and built-in rt2x00"
109 depends on RT2X00_LIB=y && LEDS_CLASS=m
110
95ea3627
ID
111config RT2X00_LIB_DEBUGFS
112 bool "Ralink debugfs support"
113 depends on RT2X00_LIB && MAC80211_DEBUGFS
114 ---help---
115 Enable creation of debugfs files for the rt2x00 drivers.
116 These debugfs files support both reading and writing of the
3a4d3af7 117 most important register types of the rt2x00 hardware.
95ea3627
ID
118
119config RT2X00_DEBUG
120 bool "Ralink debug output"
121 depends on RT2X00_LIB
122 ---help---
123 Enable debugging output for all rt2x00 modules
124
0d84d78d 125endif