Add an experimental tunable: machdep.conspeed.
# I'm not sure where to document this.
This commit is contained in:
parent
0375947168
commit
96fc5a062e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=91276
@ -413,6 +413,7 @@ sysctl_machdep_comdefaultrate(SYSCTL_HANDLER_ARGS)
|
||||
|
||||
SYSCTL_PROC(_machdep, OID_AUTO, conspeed, CTLTYPE_INT | CTLFLAG_RW,
|
||||
0, 0, sysctl_machdep_comdefaultrate, "I", "");
|
||||
TUNABLE_INT("machdep.conspeed", &comdefaultrate);
|
||||
|
||||
#define SET_FLAG(dev, bit) device_set_flags(dev, device_get_flags(dev) | (bit))
|
||||
#define CLR_FLAG(dev, bit) device_set_flags(dev, device_get_flags(dev) & ~(bit))
|
||||
|
Loading…
Reference in New Issue
Block a user