summaryrefslogtreecommitdiffstats
path: root/sys/mips
diff options
context:
space:
mode:
authortrhodes <trhodes@FreeBSD.org>2008-08-03 14:11:06 +0000
committertrhodes <trhodes@FreeBSD.org>2008-08-03 14:11:06 +0000
commit584243ca1e9e462358bf89ee2ce90a64f04de48f (patch)
treed12a2edd50520f1f178fa9a191a81dd46dd4fef1 /sys/mips
parent52aa4f35d0227eddf0791072be3baac35944788a (diff)
downloadFreeBSD-src-584243ca1e9e462358bf89ee2ce90a64f04de48f.zip
FreeBSD-src-584243ca1e9e462358bf89ee2ce90a64f04de48f.tar.gz
Document a few sysctls.
Approved by: imp
Diffstat (limited to 'sys/mips')
-rw-r--r--sys/mips/mips/machdep.c9
-rw-r--r--sys/mips/mips/tick.c3
2 files changed, 7 insertions, 5 deletions
diff --git a/sys/mips/mips/machdep.c b/sys/mips/mips/machdep.c
index 28d1fb3..03cc86a 100644
--- a/sys/mips/mips/machdep.c
+++ b/sys/mips/mips/machdep.c
@@ -236,22 +236,23 @@ sysctl_machdep_adjkerntz(SYSCTL_HANDLER_ARGS)
}
SYSCTL_PROC(_machdep, CPU_ADJKERNTZ, adjkerntz, CTLTYPE_INT | CTLFLAG_RW,
- &adjkerntz, 0, sysctl_machdep_adjkerntz, "I", "");
+ &adjkerntz, 0, sysctl_machdep_adjkerntz, "I",
+ "Local offset from GMT in seconds");
#endif /* PORT_TO_JMIPS */
#ifdef PORT_TO_JMIPS
/* art */
SYSCTL_INT(_machdep, CPU_DISRTCSET, disable_rtc_set, CTLFLAG_RW,
- &disable_rtc_set, 0, "");
+ &disable_rtc_set, 0, "Disable setting the real time clock to system time");
#endif /* PORT_TO_JMIPS */
SYSCTL_STRUCT(_machdep, CPU_BOOTINFO, bootinfo, CTLFLAG_RD, &bootinfo,
- bootinfo, "");
+ bootinfo, "Bootinfo struct: kernel filename, BIOS harddisk geometry, etc");
#ifdef PORT_TO_JMIPS
/* dchu */
SYSCTL_INT(_machdep, CPU_WALLCLOCK, wall_cmos_clock, CTLFLAG_RW,
- &wall_cmos_clock, 0, "");
+ &wall_cmos_clock, 0, "Wall CMOS clock assumed");
#endif /* PORT_TO_JMIPS */
/*
diff --git a/sys/mips/mips/tick.c b/sys/mips/mips/tick.c
index 0f8ba26..faae90e 100644
--- a/sys/mips/mips/tick.c
+++ b/sys/mips/mips/tick.c
@@ -186,7 +186,8 @@ sysctl_machdep_counter_freq(SYSCTL_HANDLER_ARGS)
}
SYSCTL_PROC(_machdep, OID_AUTO, counter_freq, CTLTYPE_QUAD | CTLFLAG_RW,
- 0, sizeof(u_int), sysctl_machdep_counter_freq, "IU", "");
+ 0, sizeof(u_int), sysctl_machdep_counter_freq, "IU",
+ "Timecounter frequency in Hz");
static unsigned
counter_get_timecount(struct timecounter *tc)
OpenPOWER on IntegriCloud