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 коммит произвёл Martin K. Petersen
Родитель cdf79db476
Коммит deff370633
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

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