diff options
author | Joe Carnuccio <joe.carnuccio@qlogic.com> | 2016-07-06 11:14:21 -0400 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-07-15 15:31:31 -0400 |
commit | a2b3e01da730a87023c66d1c104c43848dbba847 (patch) | |
tree | 7be37028fb2851dcc0a0a14a1ab085778fa7a9e8 /drivers/scsi | |
parent | 088d09d465a1a31929b98f3363965c91e8ab4c65 (diff) |
qla2xxx: Add module parameter alternate/short names.
Signed-off-by: Joe Carnuccio <joe.carnuccio@qlogic.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_os.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index dc608ce46340..f1a2394a99e5 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c | |||
@@ -80,6 +80,7 @@ MODULE_PARM_DESC(ql2xallocfwdump, | |||
80 | 80 | ||
81 | int ql2xextended_error_logging; | 81 | int ql2xextended_error_logging; |
82 | module_param(ql2xextended_error_logging, int, S_IRUGO|S_IWUSR); | 82 | module_param(ql2xextended_error_logging, int, S_IRUGO|S_IWUSR); |
83 | module_param_named(logging, ql2xextended_error_logging, int, S_IRUGO|S_IWUSR); | ||
83 | MODULE_PARM_DESC(ql2xextended_error_logging, | 84 | MODULE_PARM_DESC(ql2xextended_error_logging, |
84 | "Option to enable extended error logging,\n" | 85 | "Option to enable extended error logging,\n" |
85 | "\t\tDefault is 0 - no logging. 0x40000000 - Module Init & Probe.\n" | 86 | "\t\tDefault is 0 - no logging. 0x40000000 - Module Init & Probe.\n" |
@@ -106,6 +107,7 @@ MODULE_PARM_DESC(ql2xshiftctondsd, | |||
106 | 107 | ||
107 | int ql2xfdmienable=1; | 108 | int ql2xfdmienable=1; |
108 | module_param(ql2xfdmienable, int, S_IRUGO|S_IWUSR); | 109 | module_param(ql2xfdmienable, int, S_IRUGO|S_IWUSR); |
110 | module_param_named(fdmi, ql2xfdmienable, int, S_IRUGO|S_IWUSR); | ||
109 | MODULE_PARM_DESC(ql2xfdmienable, | 111 | MODULE_PARM_DESC(ql2xfdmienable, |
110 | "Enables FDMI registrations. " | 112 | "Enables FDMI registrations. " |
111 | "0 - no FDMI. Default is 1 - perform FDMI."); | 113 | "0 - no FDMI. Default is 1 - perform FDMI."); |
@@ -157,6 +159,7 @@ MODULE_PARM_DESC(ql2xmultique_tag, | |||
157 | 159 | ||
158 | int ql2xfwloadbin; | 160 | int ql2xfwloadbin; |
159 | module_param(ql2xfwloadbin, int, S_IRUGO|S_IWUSR); | 161 | module_param(ql2xfwloadbin, int, S_IRUGO|S_IWUSR); |
162 | module_param_named(fwload, ql2xfwloadbin, int, S_IRUGO|S_IWUSR); | ||
160 | MODULE_PARM_DESC(ql2xfwloadbin, | 163 | MODULE_PARM_DESC(ql2xfwloadbin, |
161 | "Option to specify location from which to load ISP firmware:.\n" | 164 | "Option to specify location from which to load ISP firmware:.\n" |
162 | " 2 -- load firmware via the request_firmware() (hotplug).\n" | 165 | " 2 -- load firmware via the request_firmware() (hotplug).\n" |