Add an experimental tunable: machdep.conspeed.

# I'm not sure where to document this.
This commit is contained in:
Warner Losh 2002-02-26 03:13:30 +00:00
parent 0375947168
commit 96fc5a062e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=91276

View File

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