Message ID | 1467818075-15246-6-git-send-email-himanshu.madhani@qlogic.com (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
On 07/06/2016 05:14 PM, Himanshu Madhani wrote: > From: Joe Carnuccio <joe.carnuccio@qlogic.com> > > Signed-off-by: Joe Carnuccio <joe.carnuccio@qlogic.com> > Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com> > --- > drivers/scsi/qla2xxx/qla_os.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c > index dc608ce..f1a2394 100644 > --- a/drivers/scsi/qla2xxx/qla_os.c > +++ b/drivers/scsi/qla2xxx/qla_os.c > @@ -80,6 +80,7 @@ MODULE_PARM_DESC(ql2xallocfwdump, > > int ql2xextended_error_logging; > module_param(ql2xextended_error_logging, int, S_IRUGO|S_IWUSR); > +module_param_named(logging, ql2xextended_error_logging, int, S_IRUGO|S_IWUSR); > MODULE_PARM_DESC(ql2xextended_error_logging, > "Option to enable extended error logging,\n" > "\t\tDefault is 0 - no logging. 0x40000000 - Module Init & Probe.\n" > @@ -106,6 +107,7 @@ MODULE_PARM_DESC(ql2xshiftctondsd, > > int ql2xfdmienable=1; > module_param(ql2xfdmienable, int, S_IRUGO|S_IWUSR); > +module_param_named(fdmi, ql2xfdmienable, int, S_IRUGO|S_IWUSR); > MODULE_PARM_DESC(ql2xfdmienable, > "Enables FDMI registrations. " > "0 - no FDMI. Default is 1 - perform FDMI."); > @@ -157,6 +159,7 @@ MODULE_PARM_DESC(ql2xmultique_tag, > > int ql2xfwloadbin; > module_param(ql2xfwloadbin, int, S_IRUGO|S_IWUSR); > +module_param_named(fwload, ql2xfwloadbin, int, S_IRUGO|S_IWUSR); > MODULE_PARM_DESC(ql2xfwloadbin, > "Option to specify location from which to load ISP firmware:.\n" > " 2 -- load firmware via the request_firmware() (hotplug).\n" > Reviewed-by: Hannes Reinecke <hare@suse.com> Cheers, Hannes
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index dc608ce..f1a2394 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c @@ -80,6 +80,7 @@ MODULE_PARM_DESC(ql2xallocfwdump, int ql2xextended_error_logging; module_param(ql2xextended_error_logging, int, S_IRUGO|S_IWUSR); +module_param_named(logging, ql2xextended_error_logging, int, S_IRUGO|S_IWUSR); MODULE_PARM_DESC(ql2xextended_error_logging, "Option to enable extended error logging,\n" "\t\tDefault is 0 - no logging. 0x40000000 - Module Init & Probe.\n" @@ -106,6 +107,7 @@ MODULE_PARM_DESC(ql2xshiftctondsd, int ql2xfdmienable=1; module_param(ql2xfdmienable, int, S_IRUGO|S_IWUSR); +module_param_named(fdmi, ql2xfdmienable, int, S_IRUGO|S_IWUSR); MODULE_PARM_DESC(ql2xfdmienable, "Enables FDMI registrations. " "0 - no FDMI. Default is 1 - perform FDMI."); @@ -157,6 +159,7 @@ MODULE_PARM_DESC(ql2xmultique_tag, int ql2xfwloadbin; module_param(ql2xfwloadbin, int, S_IRUGO|S_IWUSR); +module_param_named(fwload, ql2xfwloadbin, int, S_IRUGO|S_IWUSR); MODULE_PARM_DESC(ql2xfwloadbin, "Option to specify location from which to load ISP firmware:.\n" " 2 -- load firmware via the request_firmware() (hotplug).\n"