xref: /OK3568_Linux_fs/kernel/drivers/net/wireless/intersil/p54/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only
2*4882a593Smuzhiyunconfig P54_COMMON
3*4882a593Smuzhiyun	tristate "Softmac Prism54 support"
4*4882a593Smuzhiyun	depends on MAC80211
5*4882a593Smuzhiyun	select FW_LOADER
6*4882a593Smuzhiyun	select CRC_CCITT
7*4882a593Smuzhiyun	help
8*4882a593Smuzhiyun	  This is common code for isl38xx/stlc45xx based modules.
9*4882a593Smuzhiyun	  This module does nothing by itself - the USB/PCI/SPI front-ends
10*4882a593Smuzhiyun	  also need to be enabled in order to support any devices.
11*4882a593Smuzhiyun
12*4882a593Smuzhiyun	  These devices require softmac firmware which can be found at
13*4882a593Smuzhiyun	  <http://wireless.wiki.kernel.org/en/users/Drivers/p54>
14*4882a593Smuzhiyun
15*4882a593Smuzhiyun	  If you choose to build a module, it'll be called p54common.
16*4882a593Smuzhiyun
17*4882a593Smuzhiyunconfig P54_USB
18*4882a593Smuzhiyun	tristate "Prism54 USB support"
19*4882a593Smuzhiyun	depends on P54_COMMON && USB
20*4882a593Smuzhiyun	select CRC32
21*4882a593Smuzhiyun	help
22*4882a593Smuzhiyun	  This driver is for USB isl38xx based wireless cards.
23*4882a593Smuzhiyun
24*4882a593Smuzhiyun	  These devices require softmac firmware which can be found at
25*4882a593Smuzhiyun	  <http://wireless.wiki.kernel.org/en/users/Drivers/p54>
26*4882a593Smuzhiyun
27*4882a593Smuzhiyun	  If you choose to build a module, it'll be called p54usb.
28*4882a593Smuzhiyun
29*4882a593Smuzhiyunconfig P54_PCI
30*4882a593Smuzhiyun	tristate "Prism54 PCI support"
31*4882a593Smuzhiyun	depends on P54_COMMON && PCI
32*4882a593Smuzhiyun	help
33*4882a593Smuzhiyun	  This driver is for PCI isl38xx based wireless cards.
34*4882a593Smuzhiyun	  This driver supports most devices that are supported by the
35*4882a593Smuzhiyun	  fullmac prism54 driver plus many devices which are not
36*4882a593Smuzhiyun	  supported by the fullmac driver/firmware.
37*4882a593Smuzhiyun
38*4882a593Smuzhiyun	  This driver requires softmac firmware which can be found at
39*4882a593Smuzhiyun	  <http://wireless.wiki.kernel.org/en/users/Drivers/p54>
40*4882a593Smuzhiyun
41*4882a593Smuzhiyun	  If you choose to build a module, it'll be called p54pci.
42*4882a593Smuzhiyun
43*4882a593Smuzhiyunconfig P54_SPI
44*4882a593Smuzhiyun	tristate "Prism54 SPI (stlc45xx) support"
45*4882a593Smuzhiyun	depends on P54_COMMON && SPI_MASTER
46*4882a593Smuzhiyun	help
47*4882a593Smuzhiyun	  This driver is for stlc4550 or stlc4560 based wireless chips
48*4882a593Smuzhiyun	  such as Nokia's N800/N810 Portable Internet Tablet.
49*4882a593Smuzhiyun
50*4882a593Smuzhiyun	  If you choose to build a module, it'll be called p54spi.
51*4882a593Smuzhiyun
52*4882a593Smuzhiyunconfig P54_SPI_DEFAULT_EEPROM
53*4882a593Smuzhiyun	bool "Include fallback EEPROM blob"
54*4882a593Smuzhiyun	depends on P54_SPI
55*4882a593Smuzhiyun	default n
56*4882a593Smuzhiyun	help
57*4882a593Smuzhiyun	 Unlike the PCI or USB devices, the SPI variants don't have
58*4882a593Smuzhiyun	 a dedicated EEPROM chip to store all device specific values
59*4882a593Smuzhiyun	 for calibration, country and interface settings.
60*4882a593Smuzhiyun
61*4882a593Smuzhiyun	 The driver will try to load the image "3826.eeprom", if the
62*4882a593Smuzhiyun	 file is put at the right place. (usually /lib/firmware.)
63*4882a593Smuzhiyun
64*4882a593Smuzhiyun	 Only if this request fails, this option will provide a
65*4882a593Smuzhiyun	 backup set of generic values to get the device working.
66*4882a593Smuzhiyun
67*4882a593Smuzhiyun	 Enabling this option adds about 4k to p54spi.
68*4882a593Smuzhiyun
69*4882a593Smuzhiyunconfig P54_LEDS
70*4882a593Smuzhiyun	bool
71*4882a593Smuzhiyun	depends on P54_COMMON && MAC80211_LEDS && (LEDS_CLASS = y || LEDS_CLASS = P54_COMMON)
72*4882a593Smuzhiyun	default y
73