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