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