diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-03-22 11:05:38 -0400 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-03-25 09:58:54 -0400 |
commit | 7eaa6a5e964f1ab02d849bda36950c0d30be8ce2 (patch) | |
tree | 40c38d87fd1f0f8125d46c25e85b09754d6c653e /drivers | |
parent | f7d046f91bd165e747b9a95d089a4168b6f9796a (diff) |
iwlagn: remove deprecated module parameters
Number of deprecated module parameters need to be remove for 2.6.40 kernel
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn.c | 30 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-core.h | 1 |
2 files changed, 0 insertions, 31 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c index 9251c68934dd..39a05e32c34f 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c | |||
@@ -3771,14 +3771,6 @@ static int iwl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) | |||
3771 | * 1. Allocating HW data | 3771 | * 1. Allocating HW data |
3772 | ************************/ | 3772 | ************************/ |
3773 | 3773 | ||
3774 | /* Disabling hardware scan means that mac80211 will perform scans | ||
3775 | * "the hard way", rather than using device's scan. */ | ||
3776 | if (cfg->mod_params->disable_hw_scan) { | ||
3777 | dev_printk(KERN_DEBUG, &(pdev->dev), | ||
3778 | "sw scan support is deprecated\n"); | ||
3779 | iwlagn_hw_ops.hw_scan = NULL; | ||
3780 | } | ||
3781 | |||
3782 | hw = iwl_alloc_all(cfg); | 3774 | hw = iwl_alloc_all(cfg); |
3783 | if (!hw) { | 3775 | if (!hw) { |
3784 | err = -ENOMEM; | 3776 | err = -ENOMEM; |
@@ -4388,43 +4380,21 @@ module_exit(iwl_exit); | |||
4388 | module_init(iwl_init); | 4380 | module_init(iwl_init); |
4389 | 4381 | ||
4390 | #ifdef CONFIG_IWLWIFI_DEBUG | 4382 | #ifdef CONFIG_IWLWIFI_DEBUG |
4391 | module_param_named(debug50, iwl_debug_level, uint, S_IRUGO); | ||
4392 | MODULE_PARM_DESC(debug50, "50XX debug output mask (deprecated)"); | ||
4393 | module_param_named(debug, iwl_debug_level, uint, S_IRUGO | S_IWUSR); | 4383 | module_param_named(debug, iwl_debug_level, uint, S_IRUGO | S_IWUSR); |
4394 | MODULE_PARM_DESC(debug, "debug output mask"); | 4384 | MODULE_PARM_DESC(debug, "debug output mask"); |
4395 | #endif | 4385 | #endif |
4396 | 4386 | ||
4397 | module_param_named(swcrypto50, iwlagn_mod_params.sw_crypto, bool, S_IRUGO); | ||
4398 | MODULE_PARM_DESC(swcrypto50, | ||
4399 | "using crypto in software (default 0 [hardware]) (deprecated)"); | ||
4400 | module_param_named(swcrypto, iwlagn_mod_params.sw_crypto, int, S_IRUGO); | 4387 | module_param_named(swcrypto, iwlagn_mod_params.sw_crypto, int, S_IRUGO); |
4401 | MODULE_PARM_DESC(swcrypto, "using crypto in software (default 0 [hardware])"); | 4388 | MODULE_PARM_DESC(swcrypto, "using crypto in software (default 0 [hardware])"); |
4402 | module_param_named(queues_num50, | ||
4403 | iwlagn_mod_params.num_of_queues, int, S_IRUGO); | ||
4404 | MODULE_PARM_DESC(queues_num50, | ||
4405 | "number of hw queues in 50xx series (deprecated)"); | ||
4406 | module_param_named(queues_num, iwlagn_mod_params.num_of_queues, int, S_IRUGO); | 4389 | module_param_named(queues_num, iwlagn_mod_params.num_of_queues, int, S_IRUGO); |
4407 | MODULE_PARM_DESC(queues_num, "number of hw queues."); | 4390 | MODULE_PARM_DESC(queues_num, "number of hw queues."); |
4408 | module_param_named(11n_disable50, iwlagn_mod_params.disable_11n, int, S_IRUGO); | ||
4409 | MODULE_PARM_DESC(11n_disable50, "disable 50XX 11n functionality (deprecated)"); | ||
4410 | module_param_named(11n_disable, iwlagn_mod_params.disable_11n, int, S_IRUGO); | 4391 | module_param_named(11n_disable, iwlagn_mod_params.disable_11n, int, S_IRUGO); |
4411 | MODULE_PARM_DESC(11n_disable, "disable 11n functionality"); | 4392 | MODULE_PARM_DESC(11n_disable, "disable 11n functionality"); |
4412 | module_param_named(amsdu_size_8K50, iwlagn_mod_params.amsdu_size_8K, | ||
4413 | int, S_IRUGO); | ||
4414 | MODULE_PARM_DESC(amsdu_size_8K50, | ||
4415 | "enable 8K amsdu size in 50XX series (deprecated)"); | ||
4416 | module_param_named(amsdu_size_8K, iwlagn_mod_params.amsdu_size_8K, | 4393 | module_param_named(amsdu_size_8K, iwlagn_mod_params.amsdu_size_8K, |
4417 | int, S_IRUGO); | 4394 | int, S_IRUGO); |
4418 | MODULE_PARM_DESC(amsdu_size_8K, "enable 8K amsdu size"); | 4395 | MODULE_PARM_DESC(amsdu_size_8K, "enable 8K amsdu size"); |
4419 | module_param_named(fw_restart50, iwlagn_mod_params.restart_fw, int, S_IRUGO); | ||
4420 | MODULE_PARM_DESC(fw_restart50, | ||
4421 | "restart firmware in case of error (deprecated)"); | ||
4422 | module_param_named(fw_restart, iwlagn_mod_params.restart_fw, int, S_IRUGO); | 4396 | module_param_named(fw_restart, iwlagn_mod_params.restart_fw, int, S_IRUGO); |
4423 | MODULE_PARM_DESC(fw_restart, "restart firmware in case of error"); | 4397 | MODULE_PARM_DESC(fw_restart, "restart firmware in case of error"); |
4424 | module_param_named( | ||
4425 | disable_hw_scan, iwlagn_mod_params.disable_hw_scan, int, S_IRUGO); | ||
4426 | MODULE_PARM_DESC(disable_hw_scan, | ||
4427 | "disable hardware scanning (default 0) (deprecated)"); | ||
4428 | 4398 | ||
4429 | module_param_named(ucode_alternative, iwlagn_wanted_ucode_alternative, int, | 4399 | module_param_named(ucode_alternative, iwlagn_wanted_ucode_alternative, int, |
4430 | S_IRUGO); | 4400 | S_IRUGO); |
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.h b/drivers/net/wireless/iwlwifi/iwl-core.h index 3a4e9b4d0973..967b4c008bc0 100644 --- a/drivers/net/wireless/iwlwifi/iwl-core.h +++ b/drivers/net/wireless/iwlwifi/iwl-core.h | |||
@@ -247,7 +247,6 @@ struct iwl_ops { | |||
247 | 247 | ||
248 | struct iwl_mod_params { | 248 | struct iwl_mod_params { |
249 | int sw_crypto; /* def: 0 = using hardware encryption */ | 249 | int sw_crypto; /* def: 0 = using hardware encryption */ |
250 | int disable_hw_scan; /* def: 0 = use h/w scan */ | ||
251 | int num_of_queues; /* def: HW dependent */ | 250 | int num_of_queues; /* def: HW dependent */ |
252 | int disable_11n; /* def: 0 = 11n capabilities enabled */ | 251 | int disable_11n; /* def: 0 = 11n capabilities enabled */ |
253 | int amsdu_size_8K; /* def: 1 = enable 8K amsdu size */ | 252 | int amsdu_size_8K; /* def: 1 = enable 8K amsdu size */ |