|
@@ -85,7 +85,7 @@ static unsigned int max_scsi_luns = MAX_SCSI_LUNS;
|
|
static unsigned int max_scsi_luns = 1;
|
|
static unsigned int max_scsi_luns = 1;
|
|
#endif
|
|
#endif
|
|
|
|
|
|
-module_param_named(max_luns, max_scsi_luns, int, S_IRUGO|S_IWUSR);
|
|
|
|
|
|
+module_param_named(max_luns, max_scsi_luns, uint, S_IRUGO|S_IWUSR);
|
|
MODULE_PARM_DESC(max_luns,
|
|
MODULE_PARM_DESC(max_luns,
|
|
"last scsi LUN (should be between 1 and 2^32-1)");
|
|
"last scsi LUN (should be between 1 and 2^32-1)");
|
|
|
|
|
|
@@ -109,14 +109,14 @@ MODULE_PARM_DESC(scan, "sync, async or none");
|
|
*/
|
|
*/
|
|
static unsigned int max_scsi_report_luns = 511;
|
|
static unsigned int max_scsi_report_luns = 511;
|
|
|
|
|
|
-module_param_named(max_report_luns, max_scsi_report_luns, int, S_IRUGO|S_IWUSR);
|
|
|
|
|
|
+module_param_named(max_report_luns, max_scsi_report_luns, uint, S_IRUGO|S_IWUSR);
|
|
MODULE_PARM_DESC(max_report_luns,
|
|
MODULE_PARM_DESC(max_report_luns,
|
|
"REPORT LUNS maximum number of LUNS received (should be"
|
|
"REPORT LUNS maximum number of LUNS received (should be"
|
|
" between 1 and 16384)");
|
|
" between 1 and 16384)");
|
|
|
|
|
|
static unsigned int scsi_inq_timeout = SCSI_TIMEOUT/HZ+3;
|
|
static unsigned int scsi_inq_timeout = SCSI_TIMEOUT/HZ+3;
|
|
|
|
|
|
-module_param_named(inq_timeout, scsi_inq_timeout, int, S_IRUGO|S_IWUSR);
|
|
|
|
|
|
+module_param_named(inq_timeout, scsi_inq_timeout, uint, S_IRUGO|S_IWUSR);
|
|
MODULE_PARM_DESC(inq_timeout,
|
|
MODULE_PARM_DESC(inq_timeout,
|
|
"Timeout (in seconds) waiting for devices to answer INQUIRY."
|
|
"Timeout (in seconds) waiting for devices to answer INQUIRY."
|
|
" Default is 5. Some non-compliant devices need more.");
|
|
" Default is 5. Some non-compliant devices need more.");
|