sfc: Don't use enums as a bitmask.
[zen-stable.git] / drivers / net / wireless / orinoco / fw.h
blob89fc26d25b0644a1539c4cc844a56207aa923006
1 /* Firmware file reading and download helpers
3 * See copyright notice in main.c
4 */
5 #ifndef _ORINOCO_FW_H_
6 #define _ORINOCO_FW_H_
8 /* Forward declations */
9 struct orinoco_private;
11 int orinoco_download(struct orinoco_private *priv);
13 #if defined(CONFIG_HERMES_CACHE_FW_ON_INIT) || defined(CONFIG_PM_SLEEP)
14 void orinoco_cache_fw(struct orinoco_private *priv, int ap);
15 void orinoco_uncache_fw(struct orinoco_private *priv);
16 #else
17 #define orinoco_cache_fw(priv, ap) do { } while(0)
18 #define orinoco_uncache_fw(priv) do { } while (0)
19 #endif
21 #endif /* _ORINOCO_FW_H_ */