1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-18 02:19:39 +00:00

ciss: Expose tunable hw.ciss.expose_hidden_physical as sysctl

Expose the hw.ciss.expose_hidden_physical tuneable as a sysctl
and make it writeable at runtime.

PR: 246279
Reviewed by: imp
Tested by: Marek Zarychta
Differential Revision: https://reviews.freebsd.org/D25155
This commit is contained in:
Peter Eriksson 2024-10-13 22:01:33 -06:00 committed by Warner Losh
parent d8b024673b
commit a35564358a

View File

@ -265,6 +265,9 @@ SYSCTL_INT(_hw_ciss, OID_AUTO, verbose, CTLFLAG_RWTUN, &ciss_verbose, 0,
*/
static unsigned int ciss_expose_hidden_physical = 0;
TUNABLE_INT("hw.ciss.expose_hidden_physical", &ciss_expose_hidden_physical);
SYSCTL_INT(_hw_ciss, OID_AUTO, expose_hidden_physical, CTLFLAG_RWTUN,
&ciss_expose_hidden_physical, 0,
"expose hidden physical drives");
static unsigned int ciss_nop_message_heartbeat = 0;
TUNABLE_INT("hw.ciss.nop_message_heartbeat", &ciss_nop_message_heartbeat);