diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-04-07 00:10:33 -0400 |
---|---|---|
committer | Reinette Chatre <reinette.chatre@intel.com> | 2010-04-16 16:47:52 -0400 |
commit | 7944f8e4acbb76bc8fde64dbffef43d2c8b5d053 (patch) | |
tree | d9aa5609afc6180cf9115085bef499746dd6f3d7 /drivers/net/wireless/iwlwifi/iwl-eeprom.h | |
parent | b6e4c55aaee4fd40526a6816e60c68dd62e565c4 (diff) |
iwlwifi: more generic eeprom defines
Some definition for eeprom apply to more than 5000 series device, change
the name to reflect it for easy reading.
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-eeprom.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-eeprom.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-eeprom.h b/drivers/net/wireless/iwlwifi/iwl-eeprom.h index ef0e3256eec2..9977d5ef78df 100644 --- a/drivers/net/wireless/iwlwifi/iwl-eeprom.h +++ b/drivers/net/wireless/iwlwifi/iwl-eeprom.h | |||
@@ -172,22 +172,22 @@ struct iwl_eeprom_enhanced_txpwr { | |||
172 | #define EEPROM_5000_TX_POWER_VERSION (4) | 172 | #define EEPROM_5000_TX_POWER_VERSION (4) |
173 | #define EEPROM_5000_EEPROM_VERSION (0x11A) | 173 | #define EEPROM_5000_EEPROM_VERSION (0x11A) |
174 | 174 | ||
175 | /*5000 calibrations */ | 175 | /* 5000 and up calibration */ |
176 | #define EEPROM_5000_CALIB_ALL (INDIRECT_ADDRESS | INDIRECT_CALIBRATION) | 176 | #define EEPROM_CALIB_ALL (INDIRECT_ADDRESS | INDIRECT_CALIBRATION) |
177 | #define EEPROM_5000_XTAL ((2*0x128) | EEPROM_5000_CALIB_ALL) | 177 | #define EEPROM_XTAL ((2*0x128) | EEPROM_CALIB_ALL) |
178 | #define EEPROM_5000_TEMPERATURE ((2*0x12A) | EEPROM_5000_CALIB_ALL) | 178 | |
179 | 179 | /* 5000 temperature */ | |
180 | /* 5000 links */ | 180 | #define EEPROM_5000_TEMPERATURE ((2*0x12A) | EEPROM_CALIB_ALL) |
181 | #define EEPROM_5000_LINK_HOST (2*0x64) | 181 | |
182 | #define EEPROM_5000_LINK_GENERAL (2*0x65) | 182 | /* agn links */ |
183 | #define EEPROM_5000_LINK_REGULATORY (2*0x66) | 183 | #define EEPROM_LINK_HOST (2*0x64) |
184 | #define EEPROM_5000_LINK_CALIBRATION (2*0x67) | 184 | #define EEPROM_LINK_GENERAL (2*0x65) |
185 | #define EEPROM_5000_LINK_PROCESS_ADJST (2*0x68) | 185 | #define EEPROM_LINK_REGULATORY (2*0x66) |
186 | #define EEPROM_5000_LINK_OTHERS (2*0x69) | 186 | #define EEPROM_LINK_CALIBRATION (2*0x67) |
187 | 187 | #define EEPROM_LINK_PROCESS_ADJST (2*0x68) | |
188 | /* 5000 regulatory - indirect access */ | 188 | #define EEPROM_LINK_OTHERS (2*0x69) |
189 | #define EEPROM_5000_REG_SKU_ID ((0x02)\ | 189 | |
190 | | INDIRECT_ADDRESS | INDIRECT_REGULATORY) /* 4 bytes */ | 190 | /* agn regulatory - indirect access */ |
191 | #define EEPROM_REG_BAND_1_CHANNELS ((0x08)\ | 191 | #define EEPROM_REG_BAND_1_CHANNELS ((0x08)\ |
192 | | INDIRECT_ADDRESS | INDIRECT_REGULATORY) /* 28 bytes */ | 192 | | INDIRECT_ADDRESS | INDIRECT_REGULATORY) /* 28 bytes */ |
193 | #define EEPROM_REG_BAND_2_CHANNELS ((0x26)\ | 193 | #define EEPROM_REG_BAND_2_CHANNELS ((0x26)\ |