diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2009-11-06 17:52:55 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-11 15:23:45 -0500 |
commit | 740e7f51c226076d8f8ccb203d9ba6258a5bcec7 (patch) | |
tree | b5bb21cd226efe8269e8fe2b20e80390496a8dd8 /drivers/net/wireless/iwlwifi | |
parent | 0924e519a3a18ffbfaa043f4a2c369140c5a235c (diff) |
iwlwifi: drop non-production PCI-IDs
Remove the support for all the PCI_IDs never make into production
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@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')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-6000.c | 98 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn.c | 8 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-dev.h | 4 |
3 files changed, 2 insertions, 108 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-6000.c b/drivers/net/wireless/iwlwifi/iwl-6000.c index 1f769ea23636..f732f6d194a0 100644 --- a/drivers/net/wireless/iwlwifi/iwl-6000.c +++ b/drivers/net/wireless/iwlwifi/iwl-6000.c | |||
@@ -90,11 +90,7 @@ static void iwl6000_nic_config(struct iwl_priv *priv) | |||
90 | CSR_HW_IF_CONFIG_REG_BIT_MAC_SI); | 90 | CSR_HW_IF_CONFIG_REG_BIT_MAC_SI); |
91 | 91 | ||
92 | /* no locking required for register write */ | 92 | /* no locking required for register write */ |
93 | if (priv->cfg->pa_type == IWL_PA_HYBRID) { | 93 | if (priv->cfg->pa_type == IWL_PA_INTERNAL) { |
94 | /* 2x2 hybrid phy type */ | ||
95 | iwl_write32(priv, CSR_GP_DRIVER_REG, | ||
96 | CSR_GP_DRIVER_REG_BIT_RADIO_SKU_2x2_HYB); | ||
97 | } else if (priv->cfg->pa_type == IWL_PA_INTERNAL) { | ||
98 | /* 2x2 IPA phy type */ | 94 | /* 2x2 IPA phy type */ |
99 | iwl_write32(priv, CSR_GP_DRIVER_REG, | 95 | iwl_write32(priv, CSR_GP_DRIVER_REG, |
100 | CSR_GP_DRIVER_REG_BIT_RADIO_SKU_2x2_IPA); | 96 | CSR_GP_DRIVER_REG_BIT_RADIO_SKU_2x2_IPA); |
@@ -279,98 +275,6 @@ static struct iwl_ops iwl6050_ops = { | |||
279 | .led = &iwlagn_led_ops, | 275 | .led = &iwlagn_led_ops, |
280 | }; | 276 | }; |
281 | 277 | ||
282 | |||
283 | /* | ||
284 | * "h": Hybrid configuration, use both internal and external Power Amplifier | ||
285 | */ | ||
286 | struct iwl_cfg iwl6000h_2agn_cfg = { | ||
287 | .name = "6000 Series 2x2 AGN", | ||
288 | .fw_name_pre = IWL6000_FW_PRE, | ||
289 | .ucode_api_max = IWL6000_UCODE_API_MAX, | ||
290 | .ucode_api_min = IWL6000_UCODE_API_MIN, | ||
291 | .sku = IWL_SKU_A|IWL_SKU_G|IWL_SKU_N, | ||
292 | .ops = &iwl6000_ops, | ||
293 | .eeprom_size = OTP_LOW_IMAGE_SIZE, | ||
294 | .eeprom_ver = EEPROM_6000_EEPROM_VERSION, | ||
295 | .eeprom_calib_ver = EEPROM_5000_TX_POWER_VERSION, | ||
296 | .num_of_queues = IWL50_NUM_QUEUES, | ||
297 | .num_of_ampdu_queues = IWL50_NUM_AMPDU_QUEUES, | ||
298 | .mod_params = &iwl50_mod_params, | ||
299 | .valid_tx_ant = ANT_AB, | ||
300 | .valid_rx_ant = ANT_AB, | ||
301 | .pll_cfg_val = 0, | ||
302 | .set_l0s = true, | ||
303 | .use_bsm = false, | ||
304 | .pa_type = IWL_PA_HYBRID, | ||
305 | .max_ll_items = OTP_MAX_LL_ITEMS_6x00, | ||
306 | .shadow_ram_support = true, | ||
307 | .ht_greenfield_support = true, | ||
308 | .led_compensation = 51, | ||
309 | .use_rts_for_ht = true, /* use rts/cts protection */ | ||
310 | .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS, | ||
311 | .supports_idle = true, | ||
312 | .adv_thermal_throttle = true, | ||
313 | .support_ct_kill_exit = true, | ||
314 | }; | ||
315 | |||
316 | struct iwl_cfg iwl6000h_2abg_cfg = { | ||
317 | .name = "6000 Series 2x2 ABG", | ||
318 | .fw_name_pre = IWL6000_FW_PRE, | ||
319 | .ucode_api_max = IWL6000_UCODE_API_MAX, | ||
320 | .ucode_api_min = IWL6000_UCODE_API_MIN, | ||
321 | .sku = IWL_SKU_A|IWL_SKU_G, | ||
322 | .ops = &iwl6000_ops, | ||
323 | .eeprom_size = OTP_LOW_IMAGE_SIZE, | ||
324 | .eeprom_ver = EEPROM_6000_EEPROM_VERSION, | ||
325 | .eeprom_calib_ver = EEPROM_5000_TX_POWER_VERSION, | ||
326 | .num_of_queues = IWL50_NUM_QUEUES, | ||
327 | .num_of_ampdu_queues = IWL50_NUM_AMPDU_QUEUES, | ||
328 | .mod_params = &iwl50_mod_params, | ||
329 | .valid_tx_ant = ANT_AB, | ||
330 | .valid_rx_ant = ANT_AB, | ||
331 | .pll_cfg_val = 0, | ||
332 | .set_l0s = true, | ||
333 | .use_bsm = false, | ||
334 | .pa_type = IWL_PA_HYBRID, | ||
335 | .max_ll_items = OTP_MAX_LL_ITEMS_6x00, | ||
336 | .shadow_ram_support = true, | ||
337 | .ht_greenfield_support = true, | ||
338 | .led_compensation = 51, | ||
339 | .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS, | ||
340 | .supports_idle = true, | ||
341 | .adv_thermal_throttle = true, | ||
342 | .support_ct_kill_exit = true, | ||
343 | }; | ||
344 | |||
345 | struct iwl_cfg iwl6000h_2bg_cfg = { | ||
346 | .name = "6000 Series 2x2 BG", | ||
347 | .fw_name_pre = IWL6000_FW_PRE, | ||
348 | .ucode_api_max = IWL6000_UCODE_API_MAX, | ||
349 | .ucode_api_min = IWL6000_UCODE_API_MIN, | ||
350 | .sku = IWL_SKU_G, | ||
351 | .ops = &iwl6000_ops, | ||
352 | .eeprom_size = OTP_LOW_IMAGE_SIZE, | ||
353 | .eeprom_ver = EEPROM_6000_EEPROM_VERSION, | ||
354 | .eeprom_calib_ver = EEPROM_5000_TX_POWER_VERSION, | ||
355 | .num_of_queues = IWL50_NUM_QUEUES, | ||
356 | .num_of_ampdu_queues = IWL50_NUM_AMPDU_QUEUES, | ||
357 | .mod_params = &iwl50_mod_params, | ||
358 | .valid_tx_ant = ANT_AB, | ||
359 | .valid_rx_ant = ANT_AB, | ||
360 | .pll_cfg_val = 0, | ||
361 | .set_l0s = true, | ||
362 | .use_bsm = false, | ||
363 | .pa_type = IWL_PA_HYBRID, | ||
364 | .max_ll_items = OTP_MAX_LL_ITEMS_6x00, | ||
365 | .shadow_ram_support = true, | ||
366 | .ht_greenfield_support = true, | ||
367 | .led_compensation = 51, | ||
368 | .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS, | ||
369 | .supports_idle = true, | ||
370 | .adv_thermal_throttle = true, | ||
371 | .support_ct_kill_exit = true, | ||
372 | }; | ||
373 | |||
374 | /* | 278 | /* |
375 | * "i": Internal configuration, use internal Power Amplifier | 279 | * "i": Internal configuration, use internal Power Amplifier |
376 | */ | 280 | */ |
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c index 7bdedf61dd36..ad8a348b1c81 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c | |||
@@ -3452,14 +3452,6 @@ static struct pci_device_id iwl_hw_card_ids[] = { | |||
3452 | {IWL_PCI_DEVICE(0x423D, PCI_ANY_ID, iwl5150_agn_cfg)}, | 3452 | {IWL_PCI_DEVICE(0x423D, PCI_ANY_ID, iwl5150_agn_cfg)}, |
3453 | 3453 | ||
3454 | /* 6x00 Series */ | 3454 | /* 6x00 Series */ |
3455 | {IWL_PCI_DEVICE(0x008D, 0x1301, iwl6000h_2agn_cfg)}, | ||
3456 | {IWL_PCI_DEVICE(0x008D, 0x1321, iwl6000h_2agn_cfg)}, | ||
3457 | {IWL_PCI_DEVICE(0x008D, 0x1326, iwl6000h_2abg_cfg)}, | ||
3458 | {IWL_PCI_DEVICE(0x008D, 0x1306, iwl6000h_2abg_cfg)}, | ||
3459 | {IWL_PCI_DEVICE(0x008D, 0x1307, iwl6000h_2bg_cfg)}, | ||
3460 | {IWL_PCI_DEVICE(0x008E, 0x1311, iwl6000h_2agn_cfg)}, | ||
3461 | {IWL_PCI_DEVICE(0x008E, 0x1316, iwl6000h_2abg_cfg)}, | ||
3462 | |||
3463 | {IWL_PCI_DEVICE(0x422B, 0x1101, iwl6000_3agn_cfg)}, | 3455 | {IWL_PCI_DEVICE(0x422B, 0x1101, iwl6000_3agn_cfg)}, |
3464 | {IWL_PCI_DEVICE(0x422B, 0x1121, iwl6000_3agn_cfg)}, | 3456 | {IWL_PCI_DEVICE(0x422B, 0x1121, iwl6000_3agn_cfg)}, |
3465 | {IWL_PCI_DEVICE(0x422C, 0x1301, iwl6000i_2agn_cfg)}, | 3457 | {IWL_PCI_DEVICE(0x422C, 0x1301, iwl6000i_2agn_cfg)}, |
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h index 9a19a3d1f704..9dea8fa08c0e 100644 --- a/drivers/net/wireless/iwlwifi/iwl-dev.h +++ b/drivers/net/wireless/iwlwifi/iwl-dev.h | |||
@@ -927,13 +927,11 @@ enum iwl_access_mode { | |||
927 | /** | 927 | /** |
928 | * enum iwl_pa_type - Power Amplifier type | 928 | * enum iwl_pa_type - Power Amplifier type |
929 | * @IWL_PA_SYSTEM: based on uCode configuration | 929 | * @IWL_PA_SYSTEM: based on uCode configuration |
930 | * @IWL_PA_HYBRID: use both Internal and external PA | ||
931 | * @IWL_PA_INTERNAL: use Internal only | 930 | * @IWL_PA_INTERNAL: use Internal only |
932 | */ | 931 | */ |
933 | enum iwl_pa_type { | 932 | enum iwl_pa_type { |
934 | IWL_PA_SYSTEM = 0, | 933 | IWL_PA_SYSTEM = 0, |
935 | IWL_PA_HYBRID = 1, | 934 | IWL_PA_INTERNAL = 1, |
936 | IWL_PA_INTERNAL = 2, | ||
937 | }; | 935 | }; |
938 | 936 | ||
939 | /* interrupt statistics */ | 937 | /* interrupt statistics */ |