137a2e566f82de9a88fe119479162f9984af2180dDavid Kilroy/* Firmware file reading and download helpers 237a2e566f82de9a88fe119479162f9984af2180dDavid Kilroy * 337a2e566f82de9a88fe119479162f9984af2180dDavid Kilroy * See copyright notice in main.c 437a2e566f82de9a88fe119479162f9984af2180dDavid Kilroy */ 537a2e566f82de9a88fe119479162f9984af2180dDavid Kilroy#ifndef _ORINOCO_FW_H_ 637a2e566f82de9a88fe119479162f9984af2180dDavid Kilroy#define _ORINOCO_FW_H_ 737a2e566f82de9a88fe119479162f9984af2180dDavid Kilroy 837a2e566f82de9a88fe119479162f9984af2180dDavid Kilroy/* Forward declations */ 937a2e566f82de9a88fe119479162f9984af2180dDavid Kilroystruct orinoco_private; 1037a2e566f82de9a88fe119479162f9984af2180dDavid Kilroy 1137a2e566f82de9a88fe119479162f9984af2180dDavid Kilroyint orinoco_download(struct orinoco_private *priv); 1237a2e566f82de9a88fe119479162f9984af2180dDavid Kilroy 132bfc5cb57b55ed2204bca7668e082f7bf485760aAndrey Borzenkov#if defined(CONFIG_HERMES_CACHE_FW_ON_INIT) || defined(CONFIG_PM_SLEEP) 1437a2e566f82de9a88fe119479162f9984af2180dDavid Kilroyvoid orinoco_cache_fw(struct orinoco_private *priv, int ap); 1537a2e566f82de9a88fe119479162f9984af2180dDavid Kilroyvoid orinoco_uncache_fw(struct orinoco_private *priv); 162bfc5cb57b55ed2204bca7668e082f7bf485760aAndrey Borzenkov#else 17933d594313a5928ffc5325d7bbb6e2383d79622ePavel Roskin#define orinoco_cache_fw(priv, ap) do { } while (0) 182bfc5cb57b55ed2204bca7668e082f7bf485760aAndrey Borzenkov#define orinoco_uncache_fw(priv) do { } while (0) 192bfc5cb57b55ed2204bca7668e082f7bf485760aAndrey Borzenkov#endif 2037a2e566f82de9a88fe119479162f9984af2180dDavid Kilroy 2137a2e566f82de9a88fe119479162f9984af2180dDavid Kilroy#endif /* _ORINOCO_FW_H_ */ 22