diff options
author | Ron Rindjunsky <ron.rindjunsky@intel.com> | 2008-04-15 19:01:45 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-04-16 16:00:01 -0400 |
commit | dfe7d458408188718089f41d0e2330fed13697e2 (patch) | |
tree | 45a603ef533f0716e6875e0d2f26469c609b42d0 /drivers/net/wireless/iwlwifi/iwl3945-base.c | |
parent | 77bab6024c69de781464c6ad094db6996d996938 (diff) |
iwlwifi: arrange max number of Tx queues
This patch increases the max possible number of Tx queues, but leaves
current used number of queues as HW dependent
Signed-off-by: Ron Rindjunsky <ron.rindjunsky@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl3945-base.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl3945-base.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c index 29a9ecdcbf35..1a5678fe4224 100644 --- a/drivers/net/wireless/iwlwifi/iwl3945-base.c +++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c | |||
@@ -70,7 +70,7 @@ static int iwl3945_param_disable; /* def: 0 = enable radio */ | |||
70 | static int iwl3945_param_antenna; /* def: 0 = both antennas (use diversity) */ | 70 | static int iwl3945_param_antenna; /* def: 0 = both antennas (use diversity) */ |
71 | int iwl3945_param_hwcrypto; /* def: 0 = use software encryption */ | 71 | int iwl3945_param_hwcrypto; /* def: 0 = use software encryption */ |
72 | static int iwl3945_param_qos_enable = 1; /* def: 1 = use quality of service */ | 72 | static int iwl3945_param_qos_enable = 1; /* def: 1 = use quality of service */ |
73 | int iwl3945_param_queues_num = IWL_MAX_NUM_QUEUES; /* def: 8 Tx queues */ | 73 | int iwl3945_param_queues_num = IWL39_MAX_NUM_QUEUES; /* def: 8 Tx queues */ |
74 | 74 | ||
75 | /* | 75 | /* |
76 | * module name, copyright, version, etc. | 76 | * module name, copyright, version, etc. |
@@ -7974,10 +7974,10 @@ static int iwl3945_pci_probe(struct pci_dev *pdev, const struct pci_device_id *e | |||
7974 | iwl3945_hw_ops.hw_scan = NULL; | 7974 | iwl3945_hw_ops.hw_scan = NULL; |
7975 | } | 7975 | } |
7976 | 7976 | ||
7977 | if ((iwl3945_param_queues_num > IWL_MAX_NUM_QUEUES) || | 7977 | if ((iwl3945_param_queues_num > IWL39_MAX_NUM_QUEUES) || |
7978 | (iwl3945_param_queues_num < IWL_MIN_NUM_QUEUES)) { | 7978 | (iwl3945_param_queues_num < IWL_MIN_NUM_QUEUES)) { |
7979 | IWL_ERROR("invalid queues_num, should be between %d and %d\n", | 7979 | IWL_ERROR("invalid queues_num, should be between %d and %d\n", |
7980 | IWL_MIN_NUM_QUEUES, IWL_MAX_NUM_QUEUES); | 7980 | IWL_MIN_NUM_QUEUES, IWL39_MAX_NUM_QUEUES); |
7981 | err = -EINVAL; | 7981 | err = -EINVAL; |
7982 | goto out; | 7982 | goto out; |
7983 | } | 7983 | } |