svn commit: r220613 - in head/sys: dev/acpica x86/isa x86/x86

Jung-uk Kim jkim at FreeBSD.org
Thu Apr 14 00:07:09 UTC 2011


Author: jkim
Date: Thu Apr 14 00:07:08 2011
New Revision: 220613
URL: http://svn.freebsd.org/changeset/base/220613

Log:
  Add some tunable descriptions about x86 timers.
  
  Requested by:	arundel

Modified:
  head/sys/dev/acpica/acpi_timer.c
  head/sys/x86/isa/clock.c
  head/sys/x86/x86/tsc.c

Modified: head/sys/dev/acpica/acpi_timer.c
==============================================================================
--- head/sys/dev/acpica/acpi_timer.c	Wed Apr 13 23:09:36 2011	(r220612)
+++ head/sys/dev/acpica/acpi_timer.c	Thu Apr 14 00:07:08 2011	(r220613)
@@ -276,7 +276,7 @@ acpi_timer_sysctl_freq(SYSCTL_HANDLER_AR
 }
  
 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

Modified: head/sys/x86/isa/clock.c
==============================================================================
--- head/sys/x86/isa/clock.c	Wed Apr 13 23:09:36 2011	(r220612)
+++ head/sys/x86/isa/clock.c	Thu Apr 14 00:07:08 2011	(r220613)
@@ -527,7 +527,8 @@ sysctl_machdep_i8254_freq(SYSCTL_HANDLER
 }
 
 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)

Modified: head/sys/x86/x86/tsc.c
==============================================================================
--- head/sys/x86/x86/tsc.c	Wed Apr 13 23:09:36 2011	(r220612)
+++ head/sys/x86/x86/tsc.c	Thu Apr 14 00:07:08 2011	(r220613)
@@ -361,7 +361,7 @@ sysctl_machdep_tsc_freq(SYSCTL_HANDLER_A
 }
 
 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)


More information about the svn-src-head mailing list