2009-02-05 07:05:52 +08:00
|
|
|
/* Firmware file reading and download helpers
|
|
|
|
*
|
|
|
|
* See copyright notice in main.c
|
|
|
|
*/
|
|
|
|
#ifndef _ORINOCO_FW_H_
|
|
|
|
#define _ORINOCO_FW_H_
|
|
|
|
|
|
|
|
/* Forward declations */
|
|
|
|
struct orinoco_private;
|
|
|
|
|
|
|
|
int orinoco_download(struct orinoco_private *priv);
|
|
|
|
|
2009-03-01 04:09:09 +08:00
|
|
|
#if defined(CONFIG_HERMES_CACHE_FW_ON_INIT) || defined(CONFIG_PM_SLEEP)
|
2009-02-05 07:05:52 +08:00
|
|
|
void orinoco_cache_fw(struct orinoco_private *priv, int ap);
|
|
|
|
void orinoco_uncache_fw(struct orinoco_private *priv);
|
2009-03-01 04:09:09 +08:00
|
|
|
#else
|
2011-07-13 23:19:57 +08:00
|
|
|
#define orinoco_cache_fw(priv, ap) do { } while (0)
|
2009-03-01 04:09:09 +08:00
|
|
|
#define orinoco_uncache_fw(priv) do { } while (0)
|
|
|
|
#endif
|
2009-02-05 07:05:52 +08:00
|
|
|
|
|
|
|
#endif /* _ORINOCO_FW_H_ */
|