diff options
author | David Kilroy <kilroyd@googlemail.com> | 2008-11-22 05:37:28 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-11-26 09:47:47 -0500 |
commit | 39d1ffee57c7ce02c90ec8e9272df8aa8ddf600f (patch) | |
tree | e13cd6eef6b24084a54cd024c2af19c71f4d0e1f /drivers/net/wireless/Kconfig | |
parent | ac7cafd72261857278dff9f737e600b30088653b (diff) |
orinoco: Provide option to avoid unnecessary fw caching
Make firmware caching on startup optional, and make it default.
When the option is not selected and PM_SLEEP is configured, then
cache firmware in the suspend pm_notifier. This configuration saves
about 64k RAM in normal use, but can lead to a situation where the
driver is configured to use a different firmware.
Signed-off by: David Kilroy <kilroyd@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/Kconfig')
-rw-r--r-- | drivers/net/wireless/Kconfig | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/net/wireless/Kconfig b/drivers/net/wireless/Kconfig index 7ea916b257e4..ea543fcf2687 100644 --- a/drivers/net/wireless/Kconfig +++ b/drivers/net/wireless/Kconfig | |||
@@ -214,6 +214,21 @@ config HERMES | |||
214 | configure your card and that /etc/pcmcia/wireless.opts works : | 214 | configure your card and that /etc/pcmcia/wireless.opts works : |
215 | <http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html> | 215 | <http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html> |
216 | 216 | ||
217 | config HERMES_CACHE_FW_ON_INIT | ||
218 | bool "Cache Hermes firmware on driver initialisation" | ||
219 | depends on HERMES | ||
220 | default y | ||
221 | ---help--- | ||
222 | Say Y to cache any firmware required by the Hermes drivers | ||
223 | on startup. The firmware will remain cached until the | ||
224 | driver is unloaded. The cache uses 64K of RAM. | ||
225 | |||
226 | Otherwise load the firmware from userspace as required. In | ||
227 | this case the driver should be unloaded and restarted | ||
228 | whenever the firmware is changed. | ||
229 | |||
230 | If you are not sure, say Y. | ||
231 | |||
217 | config APPLE_AIRPORT | 232 | config APPLE_AIRPORT |
218 | tristate "Apple Airport support (built-in)" | 233 | tristate "Apple Airport support (built-in)" |
219 | depends on PPC_PMAC && HERMES | 234 | depends on PPC_PMAC && HERMES |