diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-04-01 16:20:44 -0400 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-04-08 11:00:11 -0400 |
commit | dcf6640f0f58affa93f158d8573b6868136e3d62 (patch) | |
tree | 3de2e699c412c153ccc35289bfb056db843e9071 /drivers/net/wireless/iwlwifi/iwl-2000.c | |
parent | a2b76b3b31568da9d281a393845f17689594ccdf (diff) |
iwlagn: PAPD read for 2000 series devices
For 2000 series NICs, disable OTP refresh in order to read correct
PAPD table from high OTP block
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-2000.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-2000.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-2000.c b/drivers/net/wireless/iwlwifi/iwl-2000.c index e73ac80a721e..86d7ffd6e38b 100644 --- a/drivers/net/wireless/iwlwifi/iwl-2000.c +++ b/drivers/net/wireless/iwlwifi/iwl-2000.c | |||
@@ -98,6 +98,8 @@ static void iwl2000_nic_config(struct iwl_priv *priv) | |||
98 | iwl_set_bit(priv, CSR_GP_DRIVER_REG, | 98 | iwl_set_bit(priv, CSR_GP_DRIVER_REG, |
99 | CSR_GP_DRIVER_REG_BIT_RADIO_IQ_INVER); | 99 | CSR_GP_DRIVER_REG_BIT_RADIO_IQ_INVER); |
100 | 100 | ||
101 | if (priv->cfg->disable_otp_refresh) | ||
102 | iwl_write_prph(priv, APMG_ANALOG_SVR_REG, 0x80000010); | ||
101 | } | 103 | } |
102 | 104 | ||
103 | static struct iwl_sensitivity_ranges iwl2000_sensitivity = { | 105 | static struct iwl_sensitivity_ranges iwl2000_sensitivity = { |
@@ -409,7 +411,8 @@ static struct iwl_bt_params iwl2030_bt_params = { | |||
409 | .need_dc_calib = true, \ | 411 | .need_dc_calib = true, \ |
410 | .need_temp_offset_calib = true, \ | 412 | .need_temp_offset_calib = true, \ |
411 | .led_mode = IWL_LED_RF_STATE, \ | 413 | .led_mode = IWL_LED_RF_STATE, \ |
412 | .iq_invert = true \ | 414 | .iq_invert = true, \ |
415 | .disable_otp_refresh = true \ | ||
413 | 416 | ||
414 | struct iwl_cfg iwl2000_2bgn_cfg = { | 417 | struct iwl_cfg iwl2000_2bgn_cfg = { |
415 | .name = "2000 Series 2x2 BGN", | 418 | .name = "2000 Series 2x2 BGN", |