diff options
author | Chad Dupuis <chad.dupuis@qlogic.com> | 2011-08-16 14:31:47 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-08-29 03:14:55 -0400 |
commit | 86e45bf66fd871bbc69a03c4f9f76ac57e72a2aa (patch) | |
tree | 166690b184cf2723ba4ffcb28faae03f30976e5f /drivers/scsi | |
parent | c8582ad95bcbdf46f799d310d7dfee73d941c2f4 (diff) |
[SCSI] qla2xxx: Enable write permission to some debug related module parameters to be changed dynamically.
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_os.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index ca9c76e0ff97..c0d354a4b941 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c | |||
@@ -143,7 +143,7 @@ MODULE_PARM_DESC(ql2xmultique_tag, | |||
143 | "Set it to 1 to turn on the cpu affinity."); | 143 | "Set it to 1 to turn on the cpu affinity."); |
144 | 144 | ||
145 | int ql2xfwloadbin; | 145 | int ql2xfwloadbin; |
146 | module_param(ql2xfwloadbin, int, S_IRUGO); | 146 | module_param(ql2xfwloadbin, int, S_IRUGO|S_IWUSR); |
147 | MODULE_PARM_DESC(ql2xfwloadbin, | 147 | MODULE_PARM_DESC(ql2xfwloadbin, |
148 | "Option to specify location from which to load ISP firmware:.\n" | 148 | "Option to specify location from which to load ISP firmware:.\n" |
149 | " 2 -- load firmware via the request_firmware() (hotplug).\n" | 149 | " 2 -- load firmware via the request_firmware() (hotplug).\n" |
@@ -158,7 +158,7 @@ MODULE_PARM_DESC(ql2xetsenable, | |||
158 | "Default is 0 - skip ETS enablement."); | 158 | "Default is 0 - skip ETS enablement."); |
159 | 159 | ||
160 | int ql2xdbwr = 1; | 160 | int ql2xdbwr = 1; |
161 | module_param(ql2xdbwr, int, S_IRUGO); | 161 | module_param(ql2xdbwr, int, S_IRUGO|S_IWUSR); |
162 | MODULE_PARM_DESC(ql2xdbwr, | 162 | MODULE_PARM_DESC(ql2xdbwr, |
163 | "Option to specify scheme for request queue posting.\n" | 163 | "Option to specify scheme for request queue posting.\n" |
164 | " 0 -- Regular doorbell.\n" | 164 | " 0 -- Regular doorbell.\n" |
@@ -183,7 +183,7 @@ MODULE_PARM_DESC(ql2xasynctmfenable, | |||
183 | "Default is 0 - Issue TM IOCBs via mailbox mechanism."); | 183 | "Default is 0 - Issue TM IOCBs via mailbox mechanism."); |
184 | 184 | ||
185 | int ql2xdontresethba; | 185 | int ql2xdontresethba; |
186 | module_param(ql2xdontresethba, int, S_IRUGO); | 186 | module_param(ql2xdontresethba, int, S_IRUGO|S_IWUSR); |
187 | MODULE_PARM_DESC(ql2xdontresethba, | 187 | MODULE_PARM_DESC(ql2xdontresethba, |
188 | "Option to specify reset behaviour.\n" | 188 | "Option to specify reset behaviour.\n" |
189 | " 0 (Default) -- Reset on failure.\n" | 189 | " 0 (Default) -- Reset on failure.\n" |