orinoco: Provide option to avoid unnecessary fw caching
authorDavid Kilroy <kilroyd@googlemail.com>
Sat, 22 Nov 2008 10:37:28 +0000 (10:37 +0000)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 26 Nov 2008 14:47:47 +0000 (09:47 -0500)
commit39d1ffee57c7ce02c90ec8e9272df8aa8ddf600f
treee13cd6eef6b24084a54cd024c2af19c71f4d0e1f
parentac7cafd72261857278dff9f737e600b30088653b
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>
drivers/net/wireless/Kconfig
drivers/net/wireless/orinoco/orinoco.c
drivers/net/wireless/orinoco/orinoco.h