diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-3945.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-3945.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945.c b/drivers/net/wireless/iwlwifi/iwl-3945.c index 63e832cdba75..0fca35650ad3 100644 --- a/drivers/net/wireless/iwlwifi/iwl-3945.c +++ b/drivers/net/wireless/iwlwifi/iwl-3945.c | |||
@@ -1154,19 +1154,19 @@ int iwl3945_hw_nic_init(struct iwl3945_priv *priv) | |||
1154 | if (rev_id & PCI_CFG_REV_ID_BIT_RTP) | 1154 | if (rev_id & PCI_CFG_REV_ID_BIT_RTP) |
1155 | IWL_DEBUG_INFO("RTP type \n"); | 1155 | IWL_DEBUG_INFO("RTP type \n"); |
1156 | else if (rev_id & PCI_CFG_REV_ID_BIT_BASIC_SKU) { | 1156 | else if (rev_id & PCI_CFG_REV_ID_BIT_BASIC_SKU) { |
1157 | IWL_DEBUG_INFO("ALM-MB type\n"); | 1157 | IWL_DEBUG_INFO("3945 RADIO-MB type\n"); |
1158 | iwl3945_set_bit(priv, CSR_HW_IF_CONFIG_REG, | 1158 | iwl3945_set_bit(priv, CSR_HW_IF_CONFIG_REG, |
1159 | CSR_HW_IF_CONFIG_REG_BIT_ALMAGOR_MB); | 1159 | CSR39_HW_IF_CONFIG_REG_BIT_3945_MB); |
1160 | } else { | 1160 | } else { |
1161 | IWL_DEBUG_INFO("ALM-MM type\n"); | 1161 | IWL_DEBUG_INFO("3945 RADIO-MM type\n"); |
1162 | iwl3945_set_bit(priv, CSR_HW_IF_CONFIG_REG, | 1162 | iwl3945_set_bit(priv, CSR_HW_IF_CONFIG_REG, |
1163 | CSR_HW_IF_CONFIG_REG_BIT_ALMAGOR_MM); | 1163 | CSR39_HW_IF_CONFIG_REG_BIT_3945_MM); |
1164 | } | 1164 | } |
1165 | 1165 | ||
1166 | if (EEPROM_SKU_CAP_OP_MODE_MRC == priv->eeprom.sku_cap) { | 1166 | if (EEPROM_SKU_CAP_OP_MODE_MRC == priv->eeprom.sku_cap) { |
1167 | IWL_DEBUG_INFO("SKU OP mode is mrc\n"); | 1167 | IWL_DEBUG_INFO("SKU OP mode is mrc\n"); |
1168 | iwl3945_set_bit(priv, CSR_HW_IF_CONFIG_REG, | 1168 | iwl3945_set_bit(priv, CSR_HW_IF_CONFIG_REG, |
1169 | CSR_HW_IF_CONFIG_REG_BIT_SKU_MRC); | 1169 | CSR39_HW_IF_CONFIG_REG_BIT_SKU_MRC); |
1170 | } else | 1170 | } else |
1171 | IWL_DEBUG_INFO("SKU OP mode is basic\n"); | 1171 | IWL_DEBUG_INFO("SKU OP mode is basic\n"); |
1172 | 1172 | ||
@@ -1174,24 +1174,24 @@ int iwl3945_hw_nic_init(struct iwl3945_priv *priv) | |||
1174 | IWL_DEBUG_INFO("3945ABG revision is 0x%X\n", | 1174 | IWL_DEBUG_INFO("3945ABG revision is 0x%X\n", |
1175 | priv->eeprom.board_revision); | 1175 | priv->eeprom.board_revision); |
1176 | iwl3945_set_bit(priv, CSR_HW_IF_CONFIG_REG, | 1176 | iwl3945_set_bit(priv, CSR_HW_IF_CONFIG_REG, |
1177 | CSR_HW_IF_CONFIG_REG_BIT_BOARD_TYPE); | 1177 | CSR39_HW_IF_CONFIG_REG_BIT_BOARD_TYPE); |
1178 | } else { | 1178 | } else { |
1179 | IWL_DEBUG_INFO("3945ABG revision is 0x%X\n", | 1179 | IWL_DEBUG_INFO("3945ABG revision is 0x%X\n", |
1180 | priv->eeprom.board_revision); | 1180 | priv->eeprom.board_revision); |
1181 | iwl3945_clear_bit(priv, CSR_HW_IF_CONFIG_REG, | 1181 | iwl3945_clear_bit(priv, CSR_HW_IF_CONFIG_REG, |
1182 | CSR_HW_IF_CONFIG_REG_BIT_BOARD_TYPE); | 1182 | CSR39_HW_IF_CONFIG_REG_BIT_BOARD_TYPE); |
1183 | } | 1183 | } |
1184 | 1184 | ||
1185 | if (priv->eeprom.almgor_m_version <= 1) { | 1185 | if (priv->eeprom.almgor_m_version <= 1) { |
1186 | iwl3945_set_bit(priv, CSR_HW_IF_CONFIG_REG, | 1186 | iwl3945_set_bit(priv, CSR_HW_IF_CONFIG_REG, |
1187 | CSR_HW_IF_CONFIG_REG_BITS_SILICON_TYPE_A); | 1187 | CSR39_HW_IF_CONFIG_REG_BITS_SILICON_TYPE_A); |
1188 | IWL_DEBUG_INFO("Card M type A version is 0x%X\n", | 1188 | IWL_DEBUG_INFO("Card M type A version is 0x%X\n", |
1189 | priv->eeprom.almgor_m_version); | 1189 | priv->eeprom.almgor_m_version); |
1190 | } else { | 1190 | } else { |
1191 | IWL_DEBUG_INFO("Card M type B version is 0x%X\n", | 1191 | IWL_DEBUG_INFO("Card M type B version is 0x%X\n", |
1192 | priv->eeprom.almgor_m_version); | 1192 | priv->eeprom.almgor_m_version); |
1193 | iwl3945_set_bit(priv, CSR_HW_IF_CONFIG_REG, | 1193 | iwl3945_set_bit(priv, CSR_HW_IF_CONFIG_REG, |
1194 | CSR_HW_IF_CONFIG_REG_BITS_SILICON_TYPE_B); | 1194 | CSR39_HW_IF_CONFIG_REG_BITS_SILICON_TYPE_B); |
1195 | } | 1195 | } |
1196 | spin_unlock_irqrestore(&priv->lock, flags); | 1196 | spin_unlock_irqrestore(&priv->lock, flags); |
1197 | 1197 | ||