Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu
[sfrench/cifs-2.6.git] / drivers / net / wireless / rt2x00 / Kconfig
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>.
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 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.ko".
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.ko".
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.ko".
55
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.
64
65           When compiled as a module, this driver will be called "rt2500usb.ko".
66
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.
77
78           When compiled as a module, this driver will be called "rt73usb.ko".
79
80 config RT2X00_LIB_PCI
81         tristate
82         select RT2X00_LIB
83
84 config RT2X00_LIB_USB
85         tristate
86         select RT2X00_LIB
87
88 config RT2X00_LIB
89         tristate
90
91 config RT2X00_LIB_FIRMWARE
92         boolean
93         select FW_LOADER
94
95 config RT2X00_LIB_CRYPTO
96         boolean
97
98 config RT2X00_LIB_RFKILL
99         boolean
100         default y if (RT2X00_LIB=y && INPUT=y) || (RT2X00_LIB=m && INPUT!=n)
101         select INPUT_POLLDEV
102
103 comment "rt2x00 rfkill support disabled due to modularized INPUT and built-in rt2x00"
104         depends on RT2X00_LIB=y && INPUT=m
105
106 config RT2X00_LIB_LEDS
107         boolean
108         default y if (RT2X00_LIB=y && LEDS_CLASS=y) || (RT2X00_LIB=m && LEDS_CLASS!=n)
109
110 comment "rt2x00 leds support disabled due to modularized LEDS_CLASS and built-in rt2x00"
111         depends on RT2X00_LIB=y && LEDS_CLASS=m
112
113 config RT2X00_LIB_DEBUGFS
114         bool "Ralink debugfs support"
115         depends on RT2X00_LIB && MAC80211_DEBUGFS
116         ---help---
117           Enable creation of debugfs files for the rt2x00 drivers.
118           These debugfs files support both reading and writing of the
119           most important register types of the rt2x00 hardware.
120
121 config RT2X00_DEBUG
122         bool "Ralink debug output"
123         depends on RT2X00_LIB
124         ---help---
125           Enable debugging output for all rt2x00 modules
126
127 endif