mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
cam/scsi: Add sysctl flag CTLFLAG_TUN to loader tunable
The sysctl variable 'kern.cam.scsi_delay' is actually a loader tunable. Add sysctl flag CTLFLAG_TUN to it so that `sysctl -T` will report it correctly. No functional change intended. Reviewed by: kib, imp (for #cam) MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D42113
This commit is contained in:
parent
af5e348c61
commit
e2ad7ce37b
1 changed files with 2 additions and 1 deletions
|
|
@ -9406,7 +9406,8 @@ sysctl_scsi_delay(SYSCTL_HANDLER_ARGS)
|
|||
return (set_scsi_delay(delay));
|
||||
}
|
||||
SYSCTL_PROC(_kern_cam, OID_AUTO, scsi_delay,
|
||||
CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_MPSAFE, 0, 0, sysctl_scsi_delay, "I",
|
||||
CTLTYPE_INT | CTLFLAG_RWTUN | CTLFLAG_NOFETCH | CTLFLAG_MPSAFE,
|
||||
0, 0, sysctl_scsi_delay, "I",
|
||||
"Delay to allow devices to settle after a SCSI bus reset (ms)");
|
||||
|
||||
static int
|
||||
|
|
|
|||
Loading…
Reference in a new issue