271 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2menuconfig RT2X003 tristate "Ralink driver support"4 depends on MAC80211 && HAS_DMA5 help6 This will enable the support for the Ralink drivers,7 developed in the rt2x00 project <http://rt2x00.serialmonkey.com>.8 9 These drivers make use of the mac80211 stack.10 11 When building one of the individual drivers, the rt2x00 library12 will also be created. That library (when the driver is built as13 a module) will be called rt2x00lib.14 15 Additionally PCI and USB libraries will also be build depending16 on the types of drivers being selected, these libraries will be17 called rt2x00pci and rt2x00usb.18 19if RT2X0020 21config RT2400PCI22 tristate "Ralink rt2400 (PCI/PCMCIA) support"23 depends on PCI24 select RT2X00_LIB_MMIO25 select RT2X00_LIB_PCI26 select EEPROM_93CX627 help28 This adds support for rt2400 wireless chipset family.29 Supported chips: RT2460.30 31 When compiled as a module, this driver will be called rt2400pci.32 33config RT2500PCI34 tristate "Ralink rt2500 (PCI/PCMCIA) support"35 depends on PCI36 select RT2X00_LIB_MMIO37 select RT2X00_LIB_PCI38 select EEPROM_93CX639 help40 This adds support for rt2500 wireless chipset family.41 Supported chips: RT2560.42 43 When compiled as a module, this driver will be called rt2500pci.44 45config RT61PCI46 tristate "Ralink rt2501/rt61 (PCI/PCMCIA) support"47 depends on PCI48 select RT2X00_LIB_PCI49 select RT2X00_LIB_MMIO50 select RT2X00_LIB_FIRMWARE51 select RT2X00_LIB_CRYPTO52 select CRC_ITU_T53 select EEPROM_93CX654 help55 This adds support for rt2501 wireless chipset family.56 Supported chips: RT2561, RT2561S & RT2661.57 58 When compiled as a module, this driver will be called rt61pci.59 60config RT2800PCI61 tristate "Ralink rt27xx/rt28xx/rt30xx (PCI/PCIe/PCMCIA) support"62 depends on PCI63 select RT2800_LIB64 select RT2800_LIB_MMIO65 select RT2X00_LIB_MMIO66 select RT2X00_LIB_PCI67 select RT2X00_LIB_FIRMWARE68 select RT2X00_LIB_CRYPTO69 select CRC_CCITT70 select EEPROM_93CX671 help72 This adds support for rt27xx/rt28xx/rt30xx wireless chipset family.73 Supported chips: RT2760, RT2790, RT2860, RT2880, RT2890, RT3052,74 RT3090, RT3091 & RT309275 76 When compiled as a module, this driver will be called "rt2800pci.ko".77 78if RT2800PCI79 80config RT2800PCI_RT33XX81 bool "rt2800pci - Include support for rt33xx devices"82 default y83 help84 This adds support for rt33xx wireless chipset family to the85 rt2800pci driver.86 Supported chips: RT339087 88config RT2800PCI_RT35XX89 bool "rt2800pci - Include support for rt35xx devices (EXPERIMENTAL)"90 default y91 help92 This adds support for rt35xx wireless chipset family to the93 rt2800pci driver.94 Supported chips: RT3060, RT3062, RT3562, RT359295 96 97config RT2800PCI_RT53XX98 bool "rt2800pci - Include support for rt53xx devices (EXPERIMENTAL)"99 default y100 help101 This adds support for rt53xx wireless chipset family to the102 rt2800pci driver.103 Supported chips: RT5390104 105config RT2800PCI_RT3290106 bool "rt2800pci - Include support for rt3290 devices (EXPERIMENTAL)"107 default y108 help109 This adds support for rt3290 wireless chipset family to the110 rt2800pci driver.111 Supported chips: RT3290112endif113 114config RT2500USB115 tristate "Ralink rt2500 (USB) support"116 depends on USB117 select RT2X00_LIB_USB118 select RT2X00_LIB_CRYPTO119 help120 This adds support for rt2500 wireless chipset family.121 Supported chips: RT2571 & RT2572.122 123 When compiled as a module, this driver will be called rt2500usb.124 125config RT73USB126 tristate "Ralink rt2501/rt73 (USB) support"127 depends on USB128 select RT2X00_LIB_USB129 select RT2X00_LIB_FIRMWARE130 select RT2X00_LIB_CRYPTO131 select CRC_ITU_T132 help133 This adds support for rt2501 wireless chipset family.134 Supported chips: RT2571W, RT2573 & RT2671.135 136 When compiled as a module, this driver will be called rt73usb.137 138config RT2800USB139 tristate "Ralink rt27xx/rt28xx/rt30xx (USB) support"140 depends on USB141 select RT2800_LIB142 select RT2X00_LIB_USB143 select RT2X00_LIB_FIRMWARE144 select RT2X00_LIB_CRYPTO145 select CRC_CCITT146 help147 This adds support for rt27xx/rt28xx/rt30xx wireless chipset family.148 Supported chips: RT2770, RT2870 & RT3070, RT3071 & RT3072149 150 When compiled as a module, this driver will be called "rt2800usb.ko".151 152if RT2800USB153 154config RT2800USB_RT33XX155 bool "rt2800usb - Include support for rt33xx devices"156 default y157 help158 This adds support for rt33xx wireless chipset family to the159 rt2800usb driver.160 Supported chips: RT3370161 162config RT2800USB_RT35XX163 bool "rt2800usb - Include support for rt35xx devices (EXPERIMENTAL)"164 default y165 help166 This adds support for rt35xx wireless chipset family to the167 rt2800usb driver.168 Supported chips: RT3572169 170config RT2800USB_RT3573171 bool "rt2800usb - Include support for rt3573 devices (EXPERIMENTAL)"172 help173 This enables support for RT3573 chipset based USB wireless devices174 in the rt2800usb driver.175 176config RT2800USB_RT53XX177 bool "rt2800usb - Include support for rt53xx devices (EXPERIMENTAL)"178 help179 This adds support for rt53xx wireless chipset family to the180 rt2800usb driver.181 Supported chips: RT5370182 183config RT2800USB_RT55XX184 bool "rt2800usb - Include support for rt55xx devices (EXPERIMENTAL)"185 help186 This adds support for rt55xx wireless chipset family to the187 rt2800usb driver.188 Supported chips: RT5572189 190config RT2800USB_UNKNOWN191 bool "rt2800usb - Include support for unknown (USB) devices"192 default n193 help194 This adds support for rt2800usb devices that are known to195 have a rt28xx family compatible chipset, but for which the exact196 chipset is unknown.197 198 Support status for these devices is unknown, and enabling these199 devices may or may not work.200 201endif202 203config RT2800SOC204 tristate "Ralink WiSoC support"205 depends on SOC_RT288X || SOC_RT305X || SOC_MT7620206 select RT2X00_LIB_SOC207 select RT2X00_LIB_MMIO208 select RT2X00_LIB_CRYPTO209 select RT2X00_LIB_FIRMWARE210 select RT2800_LIB211 select RT2800_LIB_MMIO212 help213 This adds support for Ralink WiSoC devices.214 Supported chips: RT2880, RT3050, RT3052, RT3350, RT3352.215 216 When compiled as a module, this driver will be called rt2800soc.217 218 219config RT2800_LIB220 tristate221 222config RT2800_LIB_MMIO223 tristate224 select RT2X00_LIB_MMIO225 select RT2800_LIB226 227config RT2X00_LIB_MMIO228 tristate229 230config RT2X00_LIB_PCI231 tristate232 select RT2X00_LIB233 234config RT2X00_LIB_SOC235 tristate236 select RT2X00_LIB237 238config RT2X00_LIB_USB239 tristate240 select RT2X00_LIB241 242config RT2X00_LIB243 tristate244 245config RT2X00_LIB_FIRMWARE246 bool247 select FW_LOADER248 249config RT2X00_LIB_CRYPTO250 bool251 252config RT2X00_LIB_LEDS253 bool254 default y if (RT2X00_LIB=y && LEDS_CLASS=y) || (RT2X00_LIB=m && LEDS_CLASS!=n)255 256config RT2X00_LIB_DEBUGFS257 bool "Ralink debugfs support"258 depends on RT2X00_LIB && MAC80211_DEBUGFS259 help260 Enable creation of debugfs files for the rt2x00 drivers.261 These debugfs files support both reading and writing of the262 most important register types of the rt2x00 hardware.263 264config RT2X00_DEBUG265 bool "Ralink debug output"266 depends on RT2X00_LIB267 help268 Enable debugging output for all rt2x00 modules269 270endif271