1*4882a593Smuzhiyun /* Firmware file reading and download helpers 2*4882a593Smuzhiyun * 3*4882a593Smuzhiyun * See copyright notice in main.c 4*4882a593Smuzhiyun */ 5*4882a593Smuzhiyun #ifndef _ORINOCO_FW_H_ 6*4882a593Smuzhiyun #define _ORINOCO_FW_H_ 7*4882a593Smuzhiyun 8*4882a593Smuzhiyun /* Forward declations */ 9*4882a593Smuzhiyun struct orinoco_private; 10*4882a593Smuzhiyun 11*4882a593Smuzhiyun int orinoco_download(struct orinoco_private *priv); 12*4882a593Smuzhiyun 13*4882a593Smuzhiyun #if defined(CONFIG_HERMES_CACHE_FW_ON_INIT) || defined(CONFIG_PM_SLEEP) 14*4882a593Smuzhiyun void orinoco_cache_fw(struct orinoco_private *priv, int ap); 15*4882a593Smuzhiyun void orinoco_uncache_fw(struct orinoco_private *priv); 16*4882a593Smuzhiyun #else 17*4882a593Smuzhiyun #define orinoco_cache_fw(priv, ap) do { } while (0) 18*4882a593Smuzhiyun #define orinoco_uncache_fw(priv) do { } while (0) 19*4882a593Smuzhiyun #endif 20*4882a593Smuzhiyun 21*4882a593Smuzhiyun #endif /* _ORINOCO_FW_H_ */ 22