Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Apr 2011 00:07:08 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r220613 - in head/sys: dev/acpica x86/isa x86/x86
Message-ID:  <201104140007.p3E078cV015365@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104140007.p3E078cV015365>