diff options
Diffstat (limited to 'drivers/net/wireless/rtlwifi/efuse.h')
-rw-r--r-- | drivers/net/wireless/rtlwifi/efuse.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/wireless/rtlwifi/efuse.h b/drivers/net/wireless/rtlwifi/efuse.h index 47774dd4c2a6..164dabaa7615 100644 --- a/drivers/net/wireless/rtlwifi/efuse.h +++ b/drivers/net/wireless/rtlwifi/efuse.h | |||
@@ -30,9 +30,10 @@ | |||
30 | #ifndef __RTL_EFUSE_H_ | 30 | #ifndef __RTL_EFUSE_H_ |
31 | #define __RTL_EFUSE_H_ | 31 | #define __RTL_EFUSE_H_ |
32 | 32 | ||
33 | #define EFUSE_IC_ID_OFFSET 506 | ||
34 | |||
33 | #define EFUSE_REAL_CONTENT_LEN 512 | 35 | #define EFUSE_REAL_CONTENT_LEN 512 |
34 | #define EFUSE_MAP_LEN 128 | 36 | #define EFUSE_MAP_LEN 128 |
35 | #define EFUSE_MAX_SECTION 16 | ||
36 | #define EFUSE_MAX_WORD_UNIT 4 | 37 | #define EFUSE_MAX_WORD_UNIT 4 |
37 | 38 | ||
38 | #define EFUSE_INIT_MAP 0 | 39 | #define EFUSE_INIT_MAP 0 |
@@ -52,6 +53,7 @@ | |||
52 | #define _PRE_EXECUTE_READ_CMD_ | 53 | #define _PRE_EXECUTE_READ_CMD_ |
53 | 54 | ||
54 | #define EFUSE_REPEAT_THRESHOLD_ 3 | 55 | #define EFUSE_REPEAT_THRESHOLD_ 3 |
56 | #define EFUSE_ERROE_HANDLE 1 | ||
55 | 57 | ||
56 | struct efuse_map { | 58 | struct efuse_map { |
57 | u8 offset; | 59 | u8 offset; |
@@ -103,6 +105,7 @@ struct efuse_priv { | |||
103 | u8 tx_power_g[14]; | 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 | extern void efuse_initialize(struct ieee80211_hw *hw); | 109 | extern void efuse_initialize(struct ieee80211_hw *hw); |
107 | extern u8 efuse_read_1byte(struct ieee80211_hw *hw, u16 address); | 110 | extern u8 efuse_read_1byte(struct ieee80211_hw *hw, u16 address); |
108 | extern void efuse_write_1byte(struct ieee80211_hw *hw, u16 address, u8 value); | 111 | extern void efuse_write_1byte(struct ieee80211_hw *hw, u16 address, u8 value); |