summaryrefslogtreecommitdiffstats
path: root/sys/x86
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2011-04-14 00:07:08 +0000
committerjkim <jkim@FreeBSD.org>2011-04-14 00:07:08 +0000
commit5b73ac45d1ff61b9d059c3191eeff1473a23fd22 (patch)
treea3192f613f2c9a3cb83da1d9bdefc98aac0969b3 /sys/x86
parent604afe90105e01ce142998b3923ca81d3cf7ce5a (diff)
downloadFreeBSD-src-5b73ac45d1ff61b9d059c3191eeff1473a23fd22.zip
FreeBSD-src-5b73ac45d1ff61b9d059c3191eeff1473a23fd22.tar.gz
Add some tunable descriptions about x86 timers.
Requested by: arundel
Diffstat (limited to 'sys/x86')
-rw-r--r--sys/x86/isa/clock.c3
-rw-r--r--sys/x86/x86/tsc.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/sys/x86/isa/clock.c b/sys/x86/isa/clock.c
index 5556ee6..388f6cf 100644
--- a/sys/x86/isa/clock.c
+++ b/sys/x86/isa/clock.c
@@ -527,7 +527,8 @@ sysctl_machdep_i8254_freq(SYSCTL_HANDLER_ARGS)
}
SYSCTL_PROC(_machdep, OID_AUTO, i8254_freq, CTLTYPE_INT | CTLFLAG_RW,
- 0, sizeof(u_int), sysctl_machdep_i8254_freq, "IU", "");
+ 0, sizeof(u_int), sysctl_machdep_i8254_freq, "IU",
+ "i8254 timer frequency");
static unsigned
i8254_get_timecount(struct timecounter *tc)
diff --git a/sys/x86/x86/tsc.c b/sys/x86/x86/tsc.c
index 7aca10f..04654d6 100644
--- a/sys/x86/x86/tsc.c
+++ b/sys/x86/x86/tsc.c
@@ -361,7 +361,7 @@ sysctl_machdep_tsc_freq(SYSCTL_HANDLER_ARGS)
}
SYSCTL_PROC(_machdep, OID_AUTO, tsc_freq, CTLTYPE_U64 | CTLFLAG_RW,
- 0, 0, sysctl_machdep_tsc_freq, "QU", "");
+ 0, 0, sysctl_machdep_tsc_freq, "QU", "Time Stamp Counter frequency");
static unsigned
tsc_get_timecount(struct timecounter *tc)
OpenPOWER on IntegriCloud