diff options
author | Christian Lamparter <chunkeey@googlemail.com> | 2010-08-21 18:00:14 -0400 |
---|---|---|
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) |
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 | |||
49 | 49 | ||
50 | If you choose to build a module, it'll be called p54spi. | 50 | If you choose to build a module, it'll be called p54spi. |
51 | 51 | ||
52 | config 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 | |||
52 | config P54_LEDS | 69 | config P54_LEDS |
53 | bool | 70 | bool |
54 | depends on P54_COMMON && MAC80211_LEDS && (LEDS_CLASS = y || LEDS_CLASS = P54_COMMON) | 71 | depends on P54_COMMON && MAC80211_LEDS && (LEDS_CLASS = y || LEDS_CLASS = P54_COMMON) |