diff options
author | Christian Lamparter <chunkeey@googlemail.com> | 2010-08-22 00:00:14 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-08-25 14:33:18 -0400 |
commit | d7065c305544d575c3697b46ddbc8601de03e46f (patch) | |
tree | 045878b92a08e7c69b0dcaa281dce07581987e78 /drivers/net/wireless/p54/Kconfig | |
parent | b4c52612069c2756ad7506754765bfee57315efe (diff) | |
download | talos-op-linux-d7065c305544d575c3697b46ddbc8601de03e46f.tar.gz talos-op-linux-d7065c305544d575c3697b46ddbc8601de03e46f.zip |
p54spi: Kconfig option for config blob
This patch adds an Kconfig option, which allows the user
to select, whenever he/she wants to include a 4k blob for
generic calibration and interface values into the driver,
or cut the module size by about 15 to 20%.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/p54/Kconfig')
-rw-r--r-- | drivers/net/wireless/p54/Kconfig | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/net/wireless/p54/Kconfig b/drivers/net/wireless/p54/Kconfig index 60a930e45a8b..e5f45cb2a7a2 100644 --- a/drivers/net/wireless/p54/Kconfig +++ b/drivers/net/wireless/p54/Kconfig @@ -49,6 +49,23 @@ config P54_SPI If you choose to build a module, it'll be called p54spi. +config P54_SPI_DEFAULT_EEPROM + bool "Include fallback EEPROM blob" + depends on P54_SPI + default n + ---help--- + Unlike the PCI or USB devices, the SPI variants don't have + a dedicated EEPROM chip to store all device specific values + for calibration, country and interface settings. + + The driver will try to load the image "3826.eeprom", if the + file is put at the right place. (usually /lib/firmware.) + + Only if this request fails, this option will provide a + backup set of generic values to get the device working. + + Enabling this option adds about 4k to p54spi. + config P54_LEDS bool depends on P54_COMMON && MAC80211_LEDS && (LEDS_CLASS = y || LEDS_CLASS = P54_COMMON) |