From 96fc5a062ed5f0ac38f59e38b4a470da1064228c Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Tue, 26 Feb 2002 03:13:30 +0000 Subject: [PATCH] Add an experimental tunable: machdep.conspeed. # I'm not sure where to document this. --- sys/dev/sio/sio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c index cdd25a5f9b5b..5f294122659c 100644 --- a/sys/dev/sio/sio.c +++ b/sys/dev/sio/sio.c @@ -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))