diff options
author | Pavel Roskin <proski@gnu.org> | 2005-12-31 00:22:26 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2006-01-16 22:51:53 +0100 |
commit | a485cde662f5b6b2299ee01a7e9e2c11683f807b (patch) | |
tree | 359f04714e13c7010fa0f63d6968211d658c3af7 /drivers/net/wireless/hostap/hostap_config.h | |
parent | [PATCH] ipw2200: do not sleep in ipw_request_direct_scan (diff) | |
download | linux-a485cde662f5b6b2299ee01a7e9e2c11683f807b.tar.xz linux-a485cde662f5b6b2299ee01a7e9e2c11683f807b.zip |
[PATCH] hostap: allow flashing firmware
Host AP driver has code to support writing firmware to non-volatile
memory, a.k.a. flash. This code has been extensively tested when Host
AP was a standalone driver.
Add a configuration option to the kernel to allow enabling this
functionality. Improve the description of the RAM download option.
Mention cards that require it. Remove obsolete scary comment.
Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/hostap/hostap_config.h')
-rw-r--r-- | drivers/net/wireless/hostap/hostap_config.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/drivers/net/wireless/hostap/hostap_config.h b/drivers/net/wireless/hostap/hostap_config.h index 7ed3425d08c1..c090a5aebb58 100644 --- a/drivers/net/wireless/hostap/hostap_config.h +++ b/drivers/net/wireless/hostap/hostap_config.h @@ -21,15 +21,10 @@ #define PRISM2_DOWNLOAD_SUPPORT #endif -#ifdef PRISM2_DOWNLOAD_SUPPORT -/* Allow writing firmware images into flash, i.e., to non-volatile storage. - * Before you enable this option, you should make absolutely sure that you are - * using prism2_srec utility that comes with THIS version of the driver! - * In addition, please note that it is possible to kill your card with - * non-volatile download if you are using incorrect image. This feature has not - * been fully tested, so please be careful with it. */ -/* #define PRISM2_NON_VOLATILE_DOWNLOAD */ -#endif /* PRISM2_DOWNLOAD_SUPPORT */ +/* Allow kernel configuration to enable non-volatile download support. */ +#ifdef CONFIG_HOSTAP_FIRMWARE_NVRAM +#define PRISM2_NON_VOLATILE_DOWNLOAD +#endif /* Save low-level I/O for debugging. This should not be enabled in normal use. */ |