forked from Minki/linux
[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>
This commit is contained in:
parent
c8582ad95b
commit
86e45bf66f
@ -143,7 +143,7 @@ MODULE_PARM_DESC(ql2xmultique_tag,
|
|||||||
"Set it to 1 to turn on the cpu affinity.");
|
"Set it to 1 to turn on the cpu affinity.");
|
||||||
|
|
||||||
int ql2xfwloadbin;
|
int ql2xfwloadbin;
|
||||||
module_param(ql2xfwloadbin, int, S_IRUGO);
|
module_param(ql2xfwloadbin, int, S_IRUGO|S_IWUSR);
|
||||||
MODULE_PARM_DESC(ql2xfwloadbin,
|
MODULE_PARM_DESC(ql2xfwloadbin,
|
||||||
"Option to specify location from which to load ISP firmware:.\n"
|
"Option to specify location from which to load ISP firmware:.\n"
|
||||||
" 2 -- load firmware via the request_firmware() (hotplug).\n"
|
" 2 -- load firmware via the request_firmware() (hotplug).\n"
|
||||||
@ -158,7 +158,7 @@ MODULE_PARM_DESC(ql2xetsenable,
|
|||||||
"Default is 0 - skip ETS enablement.");
|
"Default is 0 - skip ETS enablement.");
|
||||||
|
|
||||||
int ql2xdbwr = 1;
|
int ql2xdbwr = 1;
|
||||||
module_param(ql2xdbwr, int, S_IRUGO);
|
module_param(ql2xdbwr, int, S_IRUGO|S_IWUSR);
|
||||||
MODULE_PARM_DESC(ql2xdbwr,
|
MODULE_PARM_DESC(ql2xdbwr,
|
||||||
"Option to specify scheme for request queue posting.\n"
|
"Option to specify scheme for request queue posting.\n"
|
||||||
" 0 -- Regular doorbell.\n"
|
" 0 -- Regular doorbell.\n"
|
||||||
@ -183,7 +183,7 @@ MODULE_PARM_DESC(ql2xasynctmfenable,
|
|||||||
"Default is 0 - Issue TM IOCBs via mailbox mechanism.");
|
"Default is 0 - Issue TM IOCBs via mailbox mechanism.");
|
||||||
|
|
||||||
int ql2xdontresethba;
|
int ql2xdontresethba;
|
||||||
module_param(ql2xdontresethba, int, S_IRUGO);
|
module_param(ql2xdontresethba, int, S_IRUGO|S_IWUSR);
|
||||||
MODULE_PARM_DESC(ql2xdontresethba,
|
MODULE_PARM_DESC(ql2xdontresethba,
|
||||||
"Option to specify reset behaviour.\n"
|
"Option to specify reset behaviour.\n"
|
||||||
" 0 (Default) -- Reset on failure.\n"
|
" 0 (Default) -- Reset on failure.\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user