diff options
author | Brian King <brking@linux.vnet.ibm.com> | 2009-03-20 16:44:37 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-04-03 10:22:43 -0400 |
commit | 545ef9a2dc1e5ac0463f3754e239ffcc5aaa92e2 (patch) | |
tree | 05f467eab988e10e47579e46d14a2182d1ee3f1b /drivers/scsi | |
parent | 039a08981a49e05f09db969cdd3f38f05a5df46f (diff) |
[SCSI] ibmvfc: Fixup module parms attributes
The ibmvfc driver really does not handle dynamically changing disc_threads.
To change this dynamically would cause confusion in the driver regarding
the number of event structs allocated. Fix this by simply not allowing
disc_threads to be changed at runtime.
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/ibmvscsi/ibmvfc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ibmvscsi/ibmvfc.c b/drivers/scsi/ibmvscsi/ibmvfc.c index 229e360f0220..f0bf102c9bca 100644 --- a/drivers/scsi/ibmvscsi/ibmvfc.c +++ b/drivers/scsi/ibmvscsi/ibmvfc.c | |||
@@ -75,7 +75,7 @@ MODULE_PARM_DESC(max_lun, "Maximum allowed LUN. " | |||
75 | module_param_named(max_targets, max_targets, uint, S_IRUGO); | 75 | module_param_named(max_targets, max_targets, uint, S_IRUGO); |
76 | MODULE_PARM_DESC(max_targets, "Maximum allowed targets. " | 76 | MODULE_PARM_DESC(max_targets, "Maximum allowed targets. " |
77 | "[Default=" __stringify(IBMVFC_MAX_TARGETS) "]"); | 77 | "[Default=" __stringify(IBMVFC_MAX_TARGETS) "]"); |
78 | module_param_named(disc_threads, disc_threads, uint, S_IRUGO | S_IWUSR); | 78 | module_param_named(disc_threads, disc_threads, uint, S_IRUGO); |
79 | MODULE_PARM_DESC(disc_threads, "Number of device discovery threads to use. " | 79 | MODULE_PARM_DESC(disc_threads, "Number of device discovery threads to use. " |
80 | "[Default=" __stringify(IBMVFC_MAX_DISC_THREADS) "]"); | 80 | "[Default=" __stringify(IBMVFC_MAX_DISC_THREADS) "]"); |
81 | module_param_named(debug, ibmvfc_debug, uint, S_IRUGO | S_IWUSR); | 81 | module_param_named(debug, ibmvfc_debug, uint, S_IRUGO | S_IWUSR); |