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:
Tomas Henzl 2019-05-29 18:00:39 +02:00 committed by Martin K. Petersen
parent cdf79db476
commit deff370633
1 changed files with 1 additions and 1 deletions

View File

@ -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");