aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorWey-Yi Guy <wey-yi.w.guy@intel.com>2011-03-22 11:05:38 -0400
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2011-03-25 09:58:54 -0400
commit7eaa6a5e964f1ab02d849bda36950c0d30be8ce2 (patch)
tree40c38d87fd1f0f8125d46c25e85b09754d6c653e /drivers
parentf7d046f91bd165e747b9a95d089a4168b6f9796a (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.c30
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-core.h1
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);
4388module_init(iwl_init); 4380module_init(iwl_init);
4389 4381
4390#ifdef CONFIG_IWLWIFI_DEBUG 4382#ifdef CONFIG_IWLWIFI_DEBUG
4391module_param_named(debug50, iwl_debug_level, uint, S_IRUGO);
4392MODULE_PARM_DESC(debug50, "50XX debug output mask (deprecated)");
4393module_param_named(debug, iwl_debug_level, uint, S_IRUGO | S_IWUSR); 4383module_param_named(debug, iwl_debug_level, uint, S_IRUGO | S_IWUSR);
4394MODULE_PARM_DESC(debug, "debug output mask"); 4384MODULE_PARM_DESC(debug, "debug output mask");
4395#endif 4385#endif
4396 4386
4397module_param_named(swcrypto50, iwlagn_mod_params.sw_crypto, bool, S_IRUGO);
4398MODULE_PARM_DESC(swcrypto50,
4399 "using crypto in software (default 0 [hardware]) (deprecated)");
4400module_param_named(swcrypto, iwlagn_mod_params.sw_crypto, int, S_IRUGO); 4387module_param_named(swcrypto, iwlagn_mod_params.sw_crypto, int, S_IRUGO);
4401MODULE_PARM_DESC(swcrypto, "using crypto in software (default 0 [hardware])"); 4388MODULE_PARM_DESC(swcrypto, "using crypto in software (default 0 [hardware])");
4402module_param_named(queues_num50,
4403 iwlagn_mod_params.num_of_queues, int, S_IRUGO);
4404MODULE_PARM_DESC(queues_num50,
4405 "number of hw queues in 50xx series (deprecated)");
4406module_param_named(queues_num, iwlagn_mod_params.num_of_queues, int, S_IRUGO); 4389module_param_named(queues_num, iwlagn_mod_params.num_of_queues, int, S_IRUGO);
4407MODULE_PARM_DESC(queues_num, "number of hw queues."); 4390MODULE_PARM_DESC(queues_num, "number of hw queues.");
4408module_param_named(11n_disable50, iwlagn_mod_params.disable_11n, int, S_IRUGO);
4409MODULE_PARM_DESC(11n_disable50, "disable 50XX 11n functionality (deprecated)");
4410module_param_named(11n_disable, iwlagn_mod_params.disable_11n, int, S_IRUGO); 4391module_param_named(11n_disable, iwlagn_mod_params.disable_11n, int, S_IRUGO);
4411MODULE_PARM_DESC(11n_disable, "disable 11n functionality"); 4392MODULE_PARM_DESC(11n_disable, "disable 11n functionality");
4412module_param_named(amsdu_size_8K50, iwlagn_mod_params.amsdu_size_8K,
4413 int, S_IRUGO);
4414MODULE_PARM_DESC(amsdu_size_8K50,
4415 "enable 8K amsdu size in 50XX series (deprecated)");
4416module_param_named(amsdu_size_8K, iwlagn_mod_params.amsdu_size_8K, 4393module_param_named(amsdu_size_8K, iwlagn_mod_params.amsdu_size_8K,
4417 int, S_IRUGO); 4394 int, S_IRUGO);
4418MODULE_PARM_DESC(amsdu_size_8K, "enable 8K amsdu size"); 4395MODULE_PARM_DESC(amsdu_size_8K, "enable 8K amsdu size");
4419module_param_named(fw_restart50, iwlagn_mod_params.restart_fw, int, S_IRUGO);
4420MODULE_PARM_DESC(fw_restart50,
4421 "restart firmware in case of error (deprecated)");
4422module_param_named(fw_restart, iwlagn_mod_params.restart_fw, int, S_IRUGO); 4396module_param_named(fw_restart, iwlagn_mod_params.restart_fw, int, S_IRUGO);
4423MODULE_PARM_DESC(fw_restart, "restart firmware in case of error"); 4397MODULE_PARM_DESC(fw_restart, "restart firmware in case of error");
4424module_param_named(
4425 disable_hw_scan, iwlagn_mod_params.disable_hw_scan, int, S_IRUGO);
4426MODULE_PARM_DESC(disable_hw_scan,
4427 "disable hardware scanning (default 0) (deprecated)");
4428 4398
4429module_param_named(ucode_alternative, iwlagn_wanted_ucode_alternative, int, 4399module_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
248struct iwl_mod_params { 248struct 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 */