scsi: megaraid_sas: make max_sectors visible in sys
Support is easier with all driver parameters visible in sysfs. Signed-off-by: Tomas Henzl <thenzl@redhat.com> Acked-by: Sumit Saxena <sumit.saxena@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
cdf79db476
commit
deff370633
|
@ -64,7 +64,7 @@
|
|||
* Will be set in megasas_init_mfi if user does not provide
|
||||
*/
|
||||
static unsigned int max_sectors;
|
||||
module_param_named(max_sectors, max_sectors, int, 0);
|
||||
module_param_named(max_sectors, max_sectors, int, S_IRUGO);
|
||||
MODULE_PARM_DESC(max_sectors,
|
||||
"Maximum number of sectors per IO command");
|
||||
|
||||
|
|
Loading…
Reference in New Issue