diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-03-10 06:17:16 -0500 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-03-25 09:57:16 -0400 |
commit | d103e3448a3ecb9f81babd1f6d7f5a678e213c82 (patch) | |
tree | 82809aed46221a108ddc181f6c82a262c9b6f9cd | |
parent | efa3144e7cb2a7a58961e5b881b1b9ef73f39cd5 (diff) |
iwlagn: use 6030 configuration for 6035 series
6035 series of devices should use the same uCode as 6030 series,
change it.
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-2000.c | 31 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-6000.c | 16 |
2 files changed, 16 insertions, 31 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-2000.c b/drivers/net/wireless/iwlwifi/iwl-2000.c index d7b6126408c9..b1dbe93a88b0 100644 --- a/drivers/net/wireless/iwlwifi/iwl-2000.c +++ b/drivers/net/wireless/iwlwifi/iwl-2000.c | |||
@@ -471,37 +471,6 @@ struct iwl_cfg iwl2030_2bg_cfg = { | |||
471 | IWL_DEVICE_2030, | 471 | IWL_DEVICE_2030, |
472 | }; | 472 | }; |
473 | 473 | ||
474 | #define IWL_DEVICE_6035 \ | ||
475 | .fw_name_pre = IWL2030_FW_PRE, \ | ||
476 | .ucode_api_max = IWL2030_UCODE_API_MAX, \ | ||
477 | .ucode_api_min = IWL2030_UCODE_API_MIN, \ | ||
478 | .eeprom_ver = EEPROM_6035_EEPROM_VERSION, \ | ||
479 | .eeprom_calib_ver = EEPROM_6035_TX_POWER_VERSION, \ | ||
480 | .ops = &iwl2030_ops, \ | ||
481 | .mod_params = &iwlagn_mod_params, \ | ||
482 | .base_params = &iwl2030_base_params, \ | ||
483 | .bt_params = &iwl2030_bt_params, \ | ||
484 | .need_dc_calib = true, \ | ||
485 | .need_temp_offset_calib = true, \ | ||
486 | .led_mode = IWL_LED_RF_STATE, \ | ||
487 | .adv_pm = true \ | ||
488 | |||
489 | struct iwl_cfg iwl6035_2agn_cfg = { | ||
490 | .name = "2000 Series 2x2 AGN/BT", | ||
491 | IWL_DEVICE_6035, | ||
492 | .ht_params = &iwl2000_ht_params, | ||
493 | }; | ||
494 | |||
495 | struct iwl_cfg iwl6035_2abg_cfg = { | ||
496 | .name = "2000 Series 2x2 ABG/BT", | ||
497 | IWL_DEVICE_6035, | ||
498 | }; | ||
499 | |||
500 | struct iwl_cfg iwl6035_2bg_cfg = { | ||
501 | .name = "2000 Series 2x2 BG/BT", | ||
502 | IWL_DEVICE_6035, | ||
503 | }; | ||
504 | |||
505 | #define IWL_DEVICE_200 \ | 474 | #define IWL_DEVICE_200 \ |
506 | .fw_name_pre = IWL200_FW_PRE, \ | 475 | .fw_name_pre = IWL200_FW_PRE, \ |
507 | .ucode_api_max = IWL200_UCODE_API_MAX, \ | 476 | .ucode_api_max = IWL200_UCODE_API_MAX, \ |
diff --git a/drivers/net/wireless/iwlwifi/iwl-6000.c b/drivers/net/wireless/iwlwifi/iwl-6000.c index a745b01c0ec1..40e022617527 100644 --- a/drivers/net/wireless/iwlwifi/iwl-6000.c +++ b/drivers/net/wireless/iwlwifi/iwl-6000.c | |||
@@ -613,6 +613,22 @@ struct iwl_cfg iwl6030_2bg_cfg = { | |||
613 | IWL_DEVICE_6030, | 613 | IWL_DEVICE_6030, |
614 | }; | 614 | }; |
615 | 615 | ||
616 | struct iwl_cfg iwl6035_2agn_cfg = { | ||
617 | .name = "6035 Series 2x2 AGN/BT", | ||
618 | IWL_DEVICE_6030, | ||
619 | .ht_params = &iwl6000_ht_params, | ||
620 | }; | ||
621 | |||
622 | struct iwl_cfg iwl6035_2abg_cfg = { | ||
623 | .name = "6035 Series 2x2 ABG/BT", | ||
624 | IWL_DEVICE_6030, | ||
625 | }; | ||
626 | |||
627 | struct iwl_cfg iwl6035_2bg_cfg = { | ||
628 | .name = "6035 Series 2x2 BG/BT", | ||
629 | IWL_DEVICE_6030, | ||
630 | }; | ||
631 | |||
616 | struct iwl_cfg iwl1030_bgn_cfg = { | 632 | struct iwl_cfg iwl1030_bgn_cfg = { |
617 | .name = "Intel(R) Centrino(R) Wireless-N 1030 BGN", | 633 | .name = "Intel(R) Centrino(R) Wireless-N 1030 BGN", |
618 | IWL_DEVICE_6030, | 634 | IWL_DEVICE_6030, |