Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only
0002 menuconfig RT2X00
0003         tristate "Ralink driver support"
0004         depends on MAC80211 && HAS_DMA
0005         help
0006           This will enable the support for the Ralink drivers,
0007           developed in the rt2x00 project <http://rt2x00.serialmonkey.com>.
0008 
0009           These drivers make use of the mac80211 stack.
0010 
0011           When building one of the individual drivers, the rt2x00 library
0012           will also be created. That library (when the driver is built as
0013           a module) will be called rt2x00lib.
0014 
0015           Additionally PCI and USB libraries will also be build depending
0016           on the types of drivers being selected, these libraries will be
0017           called rt2x00pci and rt2x00usb.
0018 
0019 if RT2X00
0020 
0021 config RT2400PCI
0022         tristate "Ralink rt2400 (PCI/PCMCIA) support"
0023         depends on PCI
0024         select RT2X00_LIB_MMIO
0025         select RT2X00_LIB_PCI
0026         select EEPROM_93CX6
0027         help
0028           This adds support for rt2400 wireless chipset family.
0029           Supported chips: RT2460.
0030 
0031           When compiled as a module, this driver will be called rt2400pci.
0032 
0033 config RT2500PCI
0034         tristate "Ralink rt2500 (PCI/PCMCIA) support"
0035         depends on PCI
0036         select RT2X00_LIB_MMIO
0037         select RT2X00_LIB_PCI
0038         select EEPROM_93CX6
0039         help
0040           This adds support for rt2500 wireless chipset family.
0041           Supported chips: RT2560.
0042 
0043           When compiled as a module, this driver will be called rt2500pci.
0044 
0045 config RT61PCI
0046         tristate "Ralink rt2501/rt61 (PCI/PCMCIA) support"
0047         depends on PCI
0048         select RT2X00_LIB_PCI
0049         select RT2X00_LIB_MMIO
0050         select RT2X00_LIB_FIRMWARE
0051         select RT2X00_LIB_CRYPTO
0052         select CRC_ITU_T
0053         select EEPROM_93CX6
0054         help
0055           This adds support for rt2501 wireless chipset family.
0056           Supported chips: RT2561, RT2561S & RT2661.
0057 
0058           When compiled as a module, this driver will be called rt61pci.
0059 
0060 config RT2800PCI
0061         tristate "Ralink rt27xx/rt28xx/rt30xx (PCI/PCIe/PCMCIA) support"
0062         depends on PCI
0063         select RT2800_LIB
0064         select RT2800_LIB_MMIO
0065         select RT2X00_LIB_MMIO
0066         select RT2X00_LIB_PCI
0067         select RT2X00_LIB_FIRMWARE
0068         select RT2X00_LIB_CRYPTO
0069         select CRC_CCITT
0070         select EEPROM_93CX6
0071         help
0072           This adds support for rt27xx/rt28xx/rt30xx wireless chipset family.
0073           Supported chips: RT2760, RT2790, RT2860, RT2880, RT2890, RT3052,
0074                            RT3090, RT3091 & RT3092
0075 
0076           When compiled as a module, this driver will be called "rt2800pci.ko".
0077 
0078 if RT2800PCI
0079 
0080 config RT2800PCI_RT33XX
0081         bool "rt2800pci - Include support for rt33xx devices"
0082         default y
0083         help
0084           This adds support for rt33xx wireless chipset family to the
0085           rt2800pci driver.
0086           Supported chips: RT3390
0087 
0088 config RT2800PCI_RT35XX
0089         bool "rt2800pci - Include support for rt35xx devices (EXPERIMENTAL)"
0090         default y
0091         help
0092           This adds support for rt35xx wireless chipset family to the
0093           rt2800pci driver.
0094           Supported chips: RT3060, RT3062, RT3562, RT3592
0095 
0096 
0097 config RT2800PCI_RT53XX
0098         bool "rt2800pci - Include support for rt53xx devices (EXPERIMENTAL)"
0099         default y
0100         help
0101           This adds support for rt53xx wireless chipset family to the
0102           rt2800pci driver.
0103           Supported chips: RT5390
0104 
0105 config RT2800PCI_RT3290
0106         bool "rt2800pci - Include support for rt3290 devices (EXPERIMENTAL)"
0107         default y
0108         help
0109           This adds support for rt3290 wireless chipset family to the
0110           rt2800pci driver.
0111           Supported chips: RT3290
0112 endif
0113 
0114 config RT2500USB
0115         tristate "Ralink rt2500 (USB) support"
0116         depends on USB
0117         select RT2X00_LIB_USB
0118         select RT2X00_LIB_CRYPTO
0119         help
0120           This adds support for rt2500 wireless chipset family.
0121           Supported chips: RT2571 & RT2572.
0122 
0123           When compiled as a module, this driver will be called rt2500usb.
0124 
0125 config RT73USB
0126         tristate "Ralink rt2501/rt73 (USB) support"
0127         depends on USB
0128         select RT2X00_LIB_USB
0129         select RT2X00_LIB_FIRMWARE
0130         select RT2X00_LIB_CRYPTO
0131         select CRC_ITU_T
0132         help
0133           This adds support for rt2501 wireless chipset family.
0134           Supported chips: RT2571W, RT2573 & RT2671.
0135 
0136           When compiled as a module, this driver will be called rt73usb.
0137 
0138 config RT2800USB
0139         tristate "Ralink rt27xx/rt28xx/rt30xx (USB) support"
0140         depends on USB
0141         select RT2800_LIB
0142         select RT2X00_LIB_USB
0143         select RT2X00_LIB_FIRMWARE
0144         select RT2X00_LIB_CRYPTO
0145         select CRC_CCITT
0146         help
0147           This adds support for rt27xx/rt28xx/rt30xx wireless chipset family.
0148           Supported chips: RT2770, RT2870 & RT3070, RT3071 & RT3072
0149 
0150           When compiled as a module, this driver will be called "rt2800usb.ko".
0151 
0152 if RT2800USB
0153 
0154 config RT2800USB_RT33XX
0155         bool "rt2800usb - Include support for rt33xx devices"
0156         default y
0157         help
0158           This adds support for rt33xx wireless chipset family to the
0159           rt2800usb driver.
0160           Supported chips: RT3370
0161 
0162 config RT2800USB_RT35XX
0163         bool "rt2800usb - Include support for rt35xx devices (EXPERIMENTAL)"
0164         default y
0165         help
0166           This adds support for rt35xx wireless chipset family to the
0167           rt2800usb driver.
0168           Supported chips: RT3572
0169 
0170 config RT2800USB_RT3573
0171         bool "rt2800usb - Include support for rt3573 devices (EXPERIMENTAL)"
0172         help
0173           This enables support for RT3573 chipset based wireless USB devices
0174           in the rt2800usb driver.
0175 
0176 config RT2800USB_RT53XX
0177         bool "rt2800usb - Include support for rt53xx devices (EXPERIMENTAL)"
0178         help
0179           This adds support for rt53xx wireless chipset family to the
0180           rt2800usb driver.
0181           Supported chips: RT5370
0182 
0183 config RT2800USB_RT55XX
0184         bool "rt2800usb - Include support for rt55xx devices (EXPERIMENTAL)"
0185         help
0186           This adds support for rt55xx wireless chipset family to the
0187           rt2800usb driver.
0188           Supported chips: RT5572
0189 
0190 config RT2800USB_UNKNOWN
0191         bool "rt2800usb - Include support for unknown (USB) devices"
0192         default n
0193         help
0194           This adds support for rt2800usb devices that are known to
0195           have a rt28xx family compatible chipset, but for which the exact
0196           chipset is unknown.
0197 
0198           Support status for these devices is unknown, and enabling these
0199           devices may or may not work.
0200 
0201 endif
0202 
0203 config RT2800SOC
0204         tristate "Ralink WiSoC support"
0205         depends on SOC_RT288X || SOC_RT305X || SOC_MT7620
0206         select RT2X00_LIB_SOC
0207         select RT2X00_LIB_MMIO
0208         select RT2X00_LIB_CRYPTO
0209         select RT2X00_LIB_FIRMWARE
0210         select RT2800_LIB
0211         select RT2800_LIB_MMIO
0212         help
0213           This adds support for Ralink WiSoC devices.
0214           Supported chips: RT2880, RT3050, RT3052, RT3350, RT3352.
0215 
0216           When compiled as a module, this driver will be called rt2800soc.
0217 
0218 
0219 config RT2800_LIB
0220         tristate
0221 
0222 config RT2800_LIB_MMIO
0223         tristate
0224         select RT2X00_LIB_MMIO
0225         select RT2800_LIB
0226 
0227 config RT2X00_LIB_MMIO
0228         tristate
0229 
0230 config RT2X00_LIB_PCI
0231         tristate
0232         select RT2X00_LIB
0233 
0234 config RT2X00_LIB_SOC
0235         tristate
0236         select RT2X00_LIB
0237 
0238 config RT2X00_LIB_USB
0239         tristate
0240         select RT2X00_LIB
0241 
0242 config RT2X00_LIB
0243         tristate
0244 
0245 config RT2X00_LIB_FIRMWARE
0246         bool
0247         select FW_LOADER
0248 
0249 config RT2X00_LIB_CRYPTO
0250         bool
0251 
0252 config RT2X00_LIB_LEDS
0253         bool
0254         default y if (RT2X00_LIB=y && LEDS_CLASS=y) || (RT2X00_LIB=m && LEDS_CLASS!=n)
0255 
0256 config RT2X00_LIB_DEBUGFS
0257         bool "Ralink debugfs support"
0258         depends on RT2X00_LIB && MAC80211_DEBUGFS
0259         help
0260           Enable creation of debugfs files for the rt2x00 drivers.
0261           These debugfs files support both reading and writing of the
0262           most important register types of the rt2x00 hardware.
0263 
0264 config RT2X00_DEBUG
0265         bool "Ralink debug output"
0266         depends on RT2X00_LIB
0267         help
0268           Enable debugging output for all rt2x00 modules
0269 
0270 endif