diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2008-10-24 02:48:51 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-10-31 19:02:24 -0400 |
commit | 0ef2ca67b19e2286eed8eeb7ef7a35ce57d6d629 (patch) | |
tree | c19702e83267fe503a790b164290fd2fec1eb6b9 /drivers/net/wireless/iwlwifi/iwl-eeprom.h | |
parent | ed7fafec5e566a30fb21586c98cbef76c306d209 (diff) |
iwlwifi: parametrize eeprom versions
This patch uses new parameters eeprom_ver and eeprom_calib_ver
to support additional HW.
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-eeprom.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-eeprom.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-eeprom.h b/drivers/net/wireless/iwlwifi/iwl-eeprom.h index d3a2a5b4ac56..997f23c8db2e 100644 --- a/drivers/net/wireless/iwlwifi/iwl-eeprom.h +++ b/drivers/net/wireless/iwlwifi/iwl-eeprom.h | |||
@@ -174,6 +174,9 @@ struct iwl_eeprom_channel { | |||
174 | #define EEPROM_5000_REG_BAND_52_FAT_CHANNELS ((0x92)\ | 174 | #define EEPROM_5000_REG_BAND_52_FAT_CHANNELS ((0x92)\ |
175 | | INDIRECT_ADDRESS | INDIRECT_REGULATORY) /* 22 bytes */ | 175 | | INDIRECT_ADDRESS | INDIRECT_REGULATORY) /* 22 bytes */ |
176 | 176 | ||
177 | /* 5050 Specific */ | ||
178 | #define EEPROM_5050_TX_POWER_VERSION (4) | ||
179 | #define EEPROM_5050_EEPROM_VERSION (0x21E) | ||
177 | 180 | ||
178 | /* 2.4 GHz */ | 181 | /* 2.4 GHz */ |
179 | extern const u8 iwl_eeprom_band_1[14]; | 182 | extern const u8 iwl_eeprom_band_1[14]; |
@@ -371,7 +374,7 @@ struct iwl_eeprom_ops { | |||
371 | int (*verify_signature) (struct iwl_priv *priv); | 374 | int (*verify_signature) (struct iwl_priv *priv); |
372 | int (*acquire_semaphore) (struct iwl_priv *priv); | 375 | int (*acquire_semaphore) (struct iwl_priv *priv); |
373 | void (*release_semaphore) (struct iwl_priv *priv); | 376 | void (*release_semaphore) (struct iwl_priv *priv); |
374 | int (*check_version) (struct iwl_priv *priv); | 377 | u16 (*calib_version) (struct iwl_priv *priv); |
375 | const u8* (*query_addr) (const struct iwl_priv *priv, size_t offset); | 378 | const u8* (*query_addr) (const struct iwl_priv *priv, size_t offset); |
376 | }; | 379 | }; |
377 | 380 | ||