~ubuntu-branches/ubuntu/quantal/linux-linaro-mx51/quantal

« back to all changes in this revision

Viewing changes to drivers/net/wireless/rtlwifi/efuse.h

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-3o58a3c1bj7x00rs
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
#ifndef __RTL_EFUSE_H_
31
31
#define __RTL_EFUSE_H_
32
32
 
 
33
#define EFUSE_IC_ID_OFFSET              506
 
34
 
33
35
#define EFUSE_REAL_CONTENT_LEN          512
34
36
#define EFUSE_MAP_LEN                   128
35
 
#define EFUSE_MAX_SECTION               16
36
37
#define EFUSE_MAX_WORD_UNIT             4
37
38
 
38
39
#define EFUSE_INIT_MAP                  0
52
53
#define _PRE_EXECUTE_READ_CMD_
53
54
 
54
55
#define EFUSE_REPEAT_THRESHOLD_         3
 
56
#define EFUSE_ERROE_HANDLE              1
55
57
 
56
58
struct efuse_map {
57
59
        u8 offset;
103
105
        u8 tx_power_g[14];
104
106
};
105
107
 
 
108
extern void read_efuse_byte(struct ieee80211_hw *hw, u16 _offset, u8 *pbuf);
106
109
extern void efuse_initialize(struct ieee80211_hw *hw);
107
110
extern u8 efuse_read_1byte(struct ieee80211_hw *hw, u16 address);
108
111
extern void efuse_write_1byte(struct ieee80211_hw *hw, u16 address, u8 value);