diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2008-04-03 19:05:20 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-04-08 16:44:42 -0400 |
commit | 12a81f60b98096079d392f8abc284cbd76aa719b (patch) | |
tree | bff81654fdb7ed864a71f5aa66777af62d3a2f79 /drivers/net/wireless/iwlwifi/iwl-4965-hw.h | |
parent | 133adf08266740cd886d544aa9fe80b9873cf699 (diff) |
iwlwifi: hw names cleanup
This patch make some cleanup in HW names
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-4965-hw.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-4965-hw.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965-hw.h b/drivers/net/wireless/iwlwifi/iwl-4965-hw.h index 1898888e71f2..de7bac149723 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965-hw.h +++ b/drivers/net/wireless/iwlwifi/iwl-4965-hw.h | |||
@@ -126,16 +126,18 @@ | |||
126 | /* Sizes and addresses for instruction and data memory (SRAM) in | 126 | /* Sizes and addresses for instruction and data memory (SRAM) in |
127 | * 4965's embedded processor. Driver access is via HBUS_TARG_MEM_* regs. */ | 127 | * 4965's embedded processor. Driver access is via HBUS_TARG_MEM_* regs. */ |
128 | #define RTC_INST_LOWER_BOUND (0x000000) | 128 | #define RTC_INST_LOWER_BOUND (0x000000) |
129 | #define KDR_RTC_INST_UPPER_BOUND (0x018000) | 129 | #define IWL49_RTC_INST_UPPER_BOUND (0x018000) |
130 | 130 | ||
131 | #define RTC_DATA_LOWER_BOUND (0x800000) | 131 | #define RTC_DATA_LOWER_BOUND (0x800000) |
132 | #define KDR_RTC_DATA_UPPER_BOUND (0x80A000) | 132 | #define IWL49_RTC_DATA_UPPER_BOUND (0x80A000) |
133 | 133 | ||
134 | #define KDR_RTC_INST_SIZE (KDR_RTC_INST_UPPER_BOUND - RTC_INST_LOWER_BOUND) | 134 | #define IWL49_RTC_INST_SIZE \ |
135 | #define KDR_RTC_DATA_SIZE (KDR_RTC_DATA_UPPER_BOUND - RTC_DATA_LOWER_BOUND) | 135 | (IWL49_RTC_INST_UPPER_BOUND - RTC_INST_LOWER_BOUND) |
136 | #define IWL49_RTC_DATA_SIZE \ | ||
137 | (IWL49_RTC_DATA_UPPER_BOUND - RTC_DATA_LOWER_BOUND) | ||
136 | 138 | ||
137 | #define IWL_MAX_INST_SIZE KDR_RTC_INST_SIZE | 139 | #define IWL_MAX_INST_SIZE IWL49_RTC_INST_SIZE |
138 | #define IWL_MAX_DATA_SIZE KDR_RTC_DATA_SIZE | 140 | #define IWL_MAX_DATA_SIZE IWL49_RTC_DATA_SIZE |
139 | 141 | ||
140 | /* Size of uCode instruction memory in bootstrap state machine */ | 142 | /* Size of uCode instruction memory in bootstrap state machine */ |
141 | #define IWL_MAX_BSM_SIZE BSM_SRAM_SIZE | 143 | #define IWL_MAX_BSM_SIZE BSM_SRAM_SIZE |
@@ -143,7 +145,7 @@ | |||
143 | static inline int iwl4965_hw_valid_rtc_data_addr(u32 addr) | 145 | static inline int iwl4965_hw_valid_rtc_data_addr(u32 addr) |
144 | { | 146 | { |
145 | return (addr >= RTC_DATA_LOWER_BOUND) && | 147 | return (addr >= RTC_DATA_LOWER_BOUND) && |
146 | (addr < KDR_RTC_DATA_UPPER_BOUND); | 148 | (addr < IWL49_RTC_DATA_UPPER_BOUND); |
147 | } | 149 | } |
148 | 150 | ||
149 | /********************* START TEMPERATURE *************************************/ | 151 | /********************* START TEMPERATURE *************************************/ |