aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/hermes_dld.h
diff options
context:
space:
mode:
authorDavid Kilroy <kilroyd@gmail.com>2008-08-21 18:27:53 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-08-22 19:28:05 -0400
commit8f5ae73c5366128d3800cf9765507422bcf1ef96 (patch)
tree5823eb838fe7fb782501171025a61c4c8b0c0423 /drivers/net/wireless/hermes_dld.h
parente23341809b7b60981d14a368155cd1f0724fb8d5 (diff)
orinoco: Extend hermes_dld routines for Agere firmware
Add programming initialisation and termination functions. Add checks to avoid overrunning the firmware image or PDA areas. Extra algorithm to program PDA values using defaults where necessary. Signed-off-by: David Kilroy <kilroyd@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/hermes_dld.h')
-rw-r--r--drivers/net/wireless/hermes_dld.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/hermes_dld.h b/drivers/net/wireless/hermes_dld.h
index af75c030b11b..6fcb26277999 100644
--- a/drivers/net/wireless/hermes_dld.h
+++ b/drivers/net/wireless/hermes_dld.h
@@ -27,6 +27,8 @@
27 27
28#include "hermes.h" 28#include "hermes.h"
29 29
30int hermesi_program_init(hermes_t *hw, u32 offset);
31int hermesi_program_end(hermes_t *hw);
30int hermes_program(hermes_t *hw, const char *first_block, const char *end); 32int hermes_program(hermes_t *hw, const char *first_block, const char *end);
31 33
32int hermes_read_pda(hermes_t *hw, 34int hermes_read_pda(hermes_t *hw,
@@ -37,6 +39,9 @@ int hermes_read_pda(hermes_t *hw,
37int hermes_apply_pda(hermes_t *hw, 39int hermes_apply_pda(hermes_t *hw,
38 const char *first_pdr, 40 const char *first_pdr,
39 const __le16 *pda); 41 const __le16 *pda);
42int hermes_apply_pda_with_defaults(hermes_t *hw,
43 const char *first_pdr,
44 const __le16 *pda);
40 45
41size_t hermes_blocks_length(const char *first_block); 46size_t hermes_blocks_length(const char *first_block);
42 47