diff options
author | Samuel Ortiz <samuel.ortiz@intel.com> | 2009-01-23 16:45:15 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 16:01:35 -0500 |
commit | e6148917db2c223fa7edd3dfb64d99756a86b452 (patch) | |
tree | 814dc8d58d03d35e15904cc48d81c30f94dc07cf /drivers/net/wireless/iwlwifi/iwl-eeprom.h | |
parent | a8e74e2774cd1aecfef0460de07e6e178df89232 (diff) |
iwl3945: Use iwl-eeprom.c routines
By adding the eeprom ops to the 3945 code, we can now use the iwlcore eeprom
routines (defined in iwl-eeprom.c).
We also removed the heavy eeprom39 reference from iwl_priv and use the eeprom
pointer instead.
Signed-off-by: Samuel Ortiz <samuel.ortiz@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 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-eeprom.h b/drivers/net/wireless/iwlwifi/iwl-eeprom.h index dd2e7d2c5082..17fed49f9d96 100644 --- a/drivers/net/wireless/iwlwifi/iwl-eeprom.h +++ b/drivers/net/wireless/iwlwifi/iwl-eeprom.h | |||
@@ -118,6 +118,9 @@ struct iwl_eeprom_channel { | |||
118 | s8 max_power_avg; /* max power (dBm) on this chnl, limit 31 */ | 118 | s8 max_power_avg; /* max power (dBm) on this chnl, limit 31 */ |
119 | } __attribute__ ((packed)); | 119 | } __attribute__ ((packed)); |
120 | 120 | ||
121 | /* 3945 Specific */ | ||
122 | #define EEPROM_3945_EEPROM_VERSION (0x2f) | ||
123 | |||
121 | /* 4965 has two radio transmitters (and 3 radio receivers) */ | 124 | /* 4965 has two radio transmitters (and 3 radio receivers) */ |
122 | #define EEPROM_TX_POWER_TX_CHAINS (2) | 125 | #define EEPROM_TX_POWER_TX_CHAINS (2) |
123 | 126 | ||