diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-2000.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-2000.c | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-2000.c b/drivers/net/wireless/iwlwifi/iwl-2000.c index e76e02c2892..f90d6afc58c 100644 --- a/drivers/net/wireless/iwlwifi/iwl-2000.c +++ b/drivers/net/wireless/iwlwifi/iwl-2000.c | |||
@@ -51,12 +51,12 @@ | |||
51 | /* Highest firmware API version supported */ | 51 | /* Highest firmware API version supported */ |
52 | #define IWL2030_UCODE_API_MAX 5 | 52 | #define IWL2030_UCODE_API_MAX 5 |
53 | #define IWL2000_UCODE_API_MAX 5 | 53 | #define IWL2000_UCODE_API_MAX 5 |
54 | #define IWL200_UCODE_API_MAX 5 | 54 | #define IWL105_UCODE_API_MAX 5 |
55 | 55 | ||
56 | /* Lowest firmware API version supported */ | 56 | /* Lowest firmware API version supported */ |
57 | #define IWL2030_UCODE_API_MIN 5 | 57 | #define IWL2030_UCODE_API_MIN 5 |
58 | #define IWL2000_UCODE_API_MIN 5 | 58 | #define IWL2000_UCODE_API_MIN 5 |
59 | #define IWL200_UCODE_API_MIN 5 | 59 | #define IWL105_UCODE_API_MIN 5 |
60 | 60 | ||
61 | #define IWL2030_FW_PRE "iwlwifi-2030-" | 61 | #define IWL2030_FW_PRE "iwlwifi-2030-" |
62 | #define IWL2030_MODULE_FIRMWARE(api) IWL2030_FW_PRE #api ".ucode" | 62 | #define IWL2030_MODULE_FIRMWARE(api) IWL2030_FW_PRE #api ".ucode" |
@@ -64,8 +64,8 @@ | |||
64 | #define IWL2000_FW_PRE "iwlwifi-2000-" | 64 | #define IWL2000_FW_PRE "iwlwifi-2000-" |
65 | #define IWL2000_MODULE_FIRMWARE(api) IWL2000_FW_PRE #api ".ucode" | 65 | #define IWL2000_MODULE_FIRMWARE(api) IWL2000_FW_PRE #api ".ucode" |
66 | 66 | ||
67 | #define IWL200_FW_PRE "iwlwifi-200-" | 67 | #define IWL105_FW_PRE "iwlwifi-105-" |
68 | #define IWL200_MODULE_FIRMWARE(api) IWL200_FW_PRE #api ".ucode" | 68 | #define IWL105_MODULE_FIRMWARE(api) IWL105_FW_PRE #api ".ucode" |
69 | 69 | ||
70 | static void iwl2000_set_ct_threshold(struct iwl_priv *priv) | 70 | static void iwl2000_set_ct_threshold(struct iwl_priv *priv) |
71 | { | 71 | { |
@@ -312,13 +312,13 @@ static const struct iwl_ops iwl2030_ops = { | |||
312 | .utils = &iwlagn_hcmd_utils, | 312 | .utils = &iwlagn_hcmd_utils, |
313 | }; | 313 | }; |
314 | 314 | ||
315 | static const struct iwl_ops iwl200_ops = { | 315 | static const struct iwl_ops iwl105_ops = { |
316 | .lib = &iwl2000_lib, | 316 | .lib = &iwl2000_lib, |
317 | .hcmd = &iwlagn_hcmd, | 317 | .hcmd = &iwlagn_hcmd, |
318 | .utils = &iwlagn_hcmd_utils, | 318 | .utils = &iwlagn_hcmd_utils, |
319 | }; | 319 | }; |
320 | 320 | ||
321 | static const struct iwl_ops iwl230_ops = { | 321 | static const struct iwl_ops iwl135_ops = { |
322 | .lib = &iwl2000_lib, | 322 | .lib = &iwl2000_lib, |
323 | .hcmd = &iwlagn_bt_hcmd, | 323 | .hcmd = &iwlagn_bt_hcmd, |
324 | .utils = &iwlagn_hcmd_utils, | 324 | .utils = &iwlagn_hcmd_utils, |
@@ -429,13 +429,13 @@ struct iwl_cfg iwl2030_2bg_cfg = { | |||
429 | IWL_DEVICE_2030, | 429 | IWL_DEVICE_2030, |
430 | }; | 430 | }; |
431 | 431 | ||
432 | #define IWL_DEVICE_200 \ | 432 | #define IWL_DEVICE_105 \ |
433 | .fw_name_pre = IWL200_FW_PRE, \ | 433 | .fw_name_pre = IWL105_FW_PRE, \ |
434 | .ucode_api_max = IWL200_UCODE_API_MAX, \ | 434 | .ucode_api_max = IWL105_UCODE_API_MAX, \ |
435 | .ucode_api_min = IWL200_UCODE_API_MIN, \ | 435 | .ucode_api_min = IWL105_UCODE_API_MIN, \ |
436 | .eeprom_ver = EEPROM_2000_EEPROM_VERSION, \ | 436 | .eeprom_ver = EEPROM_2000_EEPROM_VERSION, \ |
437 | .eeprom_calib_ver = EEPROM_2000_TX_POWER_VERSION, \ | 437 | .eeprom_calib_ver = EEPROM_2000_TX_POWER_VERSION, \ |
438 | .ops = &iwl200_ops, \ | 438 | .ops = &iwl105_ops, \ |
439 | .mod_params = &iwlagn_mod_params, \ | 439 | .mod_params = &iwlagn_mod_params, \ |
440 | .base_params = &iwl2000_base_params, \ | 440 | .base_params = &iwl2000_base_params, \ |
441 | .need_dc_calib = true, \ | 441 | .need_dc_calib = true, \ |
@@ -444,24 +444,24 @@ struct iwl_cfg iwl2030_2bg_cfg = { | |||
444 | .adv_pm = true, \ | 444 | .adv_pm = true, \ |
445 | .rx_with_siso_diversity = true \ | 445 | .rx_with_siso_diversity = true \ |
446 | 446 | ||
447 | struct iwl_cfg iwl200_bg_cfg = { | 447 | struct iwl_cfg iwl105_bg_cfg = { |
448 | .name = "200 Series 1x1 BG", | 448 | .name = "105 Series 1x1 BG", |
449 | IWL_DEVICE_200, | 449 | IWL_DEVICE_105, |
450 | }; | 450 | }; |
451 | 451 | ||
452 | struct iwl_cfg iwl200_bgn_cfg = { | 452 | struct iwl_cfg iwl105_bgn_cfg = { |
453 | .name = "200 Series 1x1 BGN", | 453 | .name = "105 Series 1x1 BGN", |
454 | IWL_DEVICE_200, | 454 | IWL_DEVICE_105, |
455 | .ht_params = &iwl2000_ht_params, | 455 | .ht_params = &iwl2000_ht_params, |
456 | }; | 456 | }; |
457 | 457 | ||
458 | #define IWL_DEVICE_230 \ | 458 | #define IWL_DEVICE_135 \ |
459 | .fw_name_pre = IWL200_FW_PRE, \ | 459 | .fw_name_pre = IWL105_FW_PRE, \ |
460 | .ucode_api_max = IWL200_UCODE_API_MAX, \ | 460 | .ucode_api_max = IWL105_UCODE_API_MAX, \ |
461 | .ucode_api_min = IWL200_UCODE_API_MIN, \ | 461 | .ucode_api_min = IWL105_UCODE_API_MIN, \ |
462 | .eeprom_ver = EEPROM_2000_EEPROM_VERSION, \ | 462 | .eeprom_ver = EEPROM_2000_EEPROM_VERSION, \ |
463 | .eeprom_calib_ver = EEPROM_2000_TX_POWER_VERSION, \ | 463 | .eeprom_calib_ver = EEPROM_2000_TX_POWER_VERSION, \ |
464 | .ops = &iwl230_ops, \ | 464 | .ops = &iwl135_ops, \ |
465 | .mod_params = &iwlagn_mod_params, \ | 465 | .mod_params = &iwlagn_mod_params, \ |
466 | .base_params = &iwl2030_base_params, \ | 466 | .base_params = &iwl2030_base_params, \ |
467 | .bt_params = &iwl2030_bt_params, \ | 467 | .bt_params = &iwl2030_bt_params, \ |
@@ -471,17 +471,17 @@ struct iwl_cfg iwl200_bgn_cfg = { | |||
471 | .adv_pm = true, \ | 471 | .adv_pm = true, \ |
472 | .rx_with_siso_diversity = true \ | 472 | .rx_with_siso_diversity = true \ |
473 | 473 | ||
474 | struct iwl_cfg iwl230_bg_cfg = { | 474 | struct iwl_cfg iwl135_bg_cfg = { |
475 | .name = "200 Series 1x1 BG/BT", | 475 | .name = "105 Series 1x1 BG/BT", |
476 | IWL_DEVICE_230, | 476 | IWL_DEVICE_135, |
477 | }; | 477 | }; |
478 | 478 | ||
479 | struct iwl_cfg iwl230_bgn_cfg = { | 479 | struct iwl_cfg iwl135_bgn_cfg = { |
480 | .name = "200 Series 1x1 BGN/BT", | 480 | .name = "105 Series 1x1 BGN/BT", |
481 | IWL_DEVICE_230, | 481 | IWL_DEVICE_135, |
482 | .ht_params = &iwl2000_ht_params, | 482 | .ht_params = &iwl2000_ht_params, |
483 | }; | 483 | }; |
484 | 484 | ||
485 | MODULE_FIRMWARE(IWL2000_MODULE_FIRMWARE(IWL2000_UCODE_API_MAX)); | 485 | MODULE_FIRMWARE(IWL2000_MODULE_FIRMWARE(IWL2000_UCODE_API_MAX)); |
486 | MODULE_FIRMWARE(IWL2030_MODULE_FIRMWARE(IWL2030_UCODE_API_MAX)); | 486 | MODULE_FIRMWARE(IWL2030_MODULE_FIRMWARE(IWL2030_UCODE_API_MAX)); |
487 | MODULE_FIRMWARE(IWL200_MODULE_FIRMWARE(IWL200_UCODE_API_MAX)); | 487 | MODULE_FIRMWARE(IWL105_MODULE_FIRMWARE(IWL105_UCODE_API_MAX)); |