18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ciconfig P54_COMMON
38c2ecf20Sopenharmony_ci	tristate "Softmac Prism54 support"
48c2ecf20Sopenharmony_ci	depends on MAC80211
58c2ecf20Sopenharmony_ci	select FW_LOADER
68c2ecf20Sopenharmony_ci	select CRC_CCITT
78c2ecf20Sopenharmony_ci	help
88c2ecf20Sopenharmony_ci	  This is common code for isl38xx/stlc45xx based modules.
98c2ecf20Sopenharmony_ci	  This module does nothing by itself - the USB/PCI/SPI front-ends
108c2ecf20Sopenharmony_ci	  also need to be enabled in order to support any devices.
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci	  These devices require softmac firmware which can be found at
138c2ecf20Sopenharmony_ci	  <http://wireless.wiki.kernel.org/en/users/Drivers/p54>
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ci	  If you choose to build a module, it'll be called p54common.
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ciconfig P54_USB
188c2ecf20Sopenharmony_ci	tristate "Prism54 USB support"
198c2ecf20Sopenharmony_ci	depends on P54_COMMON && USB
208c2ecf20Sopenharmony_ci	select CRC32
218c2ecf20Sopenharmony_ci	help
228c2ecf20Sopenharmony_ci	  This driver is for USB isl38xx based wireless cards.
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ci	  These devices require softmac firmware which can be found at
258c2ecf20Sopenharmony_ci	  <http://wireless.wiki.kernel.org/en/users/Drivers/p54>
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ci	  If you choose to build a module, it'll be called p54usb.
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ciconfig P54_PCI
308c2ecf20Sopenharmony_ci	tristate "Prism54 PCI support"
318c2ecf20Sopenharmony_ci	depends on P54_COMMON && PCI
328c2ecf20Sopenharmony_ci	help
338c2ecf20Sopenharmony_ci	  This driver is for PCI isl38xx based wireless cards.
348c2ecf20Sopenharmony_ci	  This driver supports most devices that are supported by the
358c2ecf20Sopenharmony_ci	  fullmac prism54 driver plus many devices which are not
368c2ecf20Sopenharmony_ci	  supported by the fullmac driver/firmware.
378c2ecf20Sopenharmony_ci
388c2ecf20Sopenharmony_ci	  This driver requires softmac firmware which can be found at
398c2ecf20Sopenharmony_ci	  <http://wireless.wiki.kernel.org/en/users/Drivers/p54>
408c2ecf20Sopenharmony_ci
418c2ecf20Sopenharmony_ci	  If you choose to build a module, it'll be called p54pci.
428c2ecf20Sopenharmony_ci
438c2ecf20Sopenharmony_ciconfig P54_SPI
448c2ecf20Sopenharmony_ci	tristate "Prism54 SPI (stlc45xx) support"
458c2ecf20Sopenharmony_ci	depends on P54_COMMON && SPI_MASTER
468c2ecf20Sopenharmony_ci	help
478c2ecf20Sopenharmony_ci	  This driver is for stlc4550 or stlc4560 based wireless chips
488c2ecf20Sopenharmony_ci	  such as Nokia's N800/N810 Portable Internet Tablet.
498c2ecf20Sopenharmony_ci
508c2ecf20Sopenharmony_ci	  If you choose to build a module, it'll be called p54spi.
518c2ecf20Sopenharmony_ci
528c2ecf20Sopenharmony_ciconfig P54_SPI_DEFAULT_EEPROM
538c2ecf20Sopenharmony_ci	bool "Include fallback EEPROM blob"
548c2ecf20Sopenharmony_ci	depends on P54_SPI
558c2ecf20Sopenharmony_ci	default n
568c2ecf20Sopenharmony_ci	help
578c2ecf20Sopenharmony_ci	 Unlike the PCI or USB devices, the SPI variants don't have
588c2ecf20Sopenharmony_ci	 a dedicated EEPROM chip to store all device specific values
598c2ecf20Sopenharmony_ci	 for calibration, country and interface settings.
608c2ecf20Sopenharmony_ci
618c2ecf20Sopenharmony_ci	 The driver will try to load the image "3826.eeprom", if the
628c2ecf20Sopenharmony_ci	 file is put at the right place. (usually /lib/firmware.)
638c2ecf20Sopenharmony_ci
648c2ecf20Sopenharmony_ci	 Only if this request fails, this option will provide a
658c2ecf20Sopenharmony_ci	 backup set of generic values to get the device working.
668c2ecf20Sopenharmony_ci
678c2ecf20Sopenharmony_ci	 Enabling this option adds about 4k to p54spi.
688c2ecf20Sopenharmony_ci
698c2ecf20Sopenharmony_ciconfig P54_LEDS
708c2ecf20Sopenharmony_ci	bool
718c2ecf20Sopenharmony_ci	depends on P54_COMMON && MAC80211_LEDS && (LEDS_CLASS = y || LEDS_CLASS = P54_COMMON)
728c2ecf20Sopenharmony_ci	default y
73