David Kilroy | 37a2e56 | 2009-02-04 23:05:52 +0000 | [diff] [blame] | 1 | /* Firmware file reading and download helpers |
| 2 | * |
| 3 | * See copyright notice in main.c |
| 4 | */ |
| 5 | #ifndef _ORINOCO_FW_H_ |
| 6 | #define _ORINOCO_FW_H_ |
| 7 | |
| 8 | /* Forward declations */ |
| 9 | struct orinoco_private; |
| 10 | |
| 11 | int orinoco_download(struct orinoco_private *priv); |
| 12 | |
Andrey Borzenkov | 2bfc5cb | 2009-02-28 23:09:09 +0300 | [diff] [blame] | 13 | #if defined(CONFIG_HERMES_CACHE_FW_ON_INIT) || defined(CONFIG_PM_SLEEP) |
David Kilroy | 37a2e56 | 2009-02-04 23:05:52 +0000 | [diff] [blame] | 14 | void orinoco_cache_fw(struct orinoco_private *priv, int ap); |
| 15 | void orinoco_uncache_fw(struct orinoco_private *priv); |
Andrey Borzenkov | 2bfc5cb | 2009-02-28 23:09:09 +0300 | [diff] [blame] | 16 | #else |
Pavel Roskin | 933d594 | 2011-07-13 11:19:57 -0400 | [diff] [blame^] | 17 | #define orinoco_cache_fw(priv, ap) do { } while (0) |
Andrey Borzenkov | 2bfc5cb | 2009-02-28 23:09:09 +0300 | [diff] [blame] | 18 | #define orinoco_uncache_fw(priv) do { } while (0) |
| 19 | #endif |
David Kilroy | 37a2e56 | 2009-02-04 23:05:52 +0000 | [diff] [blame] | 20 | |
| 21 | #endif /* _ORINOCO_FW_H_ */ |