summaryrefslogtreecommitdiffstats
path: root/sys
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
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')
-rw-r--r--sys/dev/acpica/acpi_timer.c2
-rw-r--r--sys/x86/isa/clock.c3
-rw-r--r--sys/x86/x86/tsc.c2
3 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/acpica/acpi_timer.c b/sys/dev/acpica/acpi_timer.c
index 67f47d9..11c0e24 100644
--- a/sys/dev/acpica/acpi_timer.c
+++ b/sys/dev/acpica/acpi_timer.c
@@ -276,7 +276,7 @@ acpi_timer_sysctl_freq(SYSCTL_HANDLER_ARGS)
}
SYSCTL_PROC(_machdep, OID_AUTO, acpi_timer_freq, CTLTYPE_INT | CTLFLAG_RW,
- 0, sizeof(u_int), acpi_timer_sysctl_freq, "I", "");
+ 0, sizeof(u_int), acpi_timer_sysctl_freq, "I", "ACPI timer frequency");
/*
* Some ACPI timers are known or believed to suffer from implementation
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