svn commit: r210098 - head/sys/mips/mips

Warner Losh imp at FreeBSD.org
Thu Jul 15 01:53:17 UTC 2010


Author: imp
Date: Thu Jul 15 01:53:17 2010
New Revision: 210098
URL: http://svn.freebsd.org/changeset/base/210098

Log:
  Remove i386-ish sysctls.  Also, make the bootinfo sysctl OID_AUTO.

Modified:
  head/sys/mips/mips/machdep.c

Modified: head/sys/mips/mips/machdep.c
==============================================================================
--- head/sys/mips/mips/machdep.c	Thu Jul 15 01:48:30 2010	(r210097)
+++ head/sys/mips/mips/machdep.c	Thu Jul 15 01:53:17 2010	(r210098)
@@ -253,24 +253,9 @@ cpu_halt(void)
 		;
 }
 
-SYSCTL_STRUCT(_machdep, CPU_BOOTINFO, bootinfo, CTLFLAG_RD, &bootinfo,
+SYSCTL_STRUCT(_machdep, OID_AUTO, bootinfo, CTLFLAG_RD, &bootinfo,
     bootinfo, "Bootinfo struct: kernel filename, BIOS harddisk geometry, etc");
 
-#ifdef PORT_TO_JMIPS
-static int
-sysctl_machdep_adjkerntz(SYSCTL_HANDLER_ARGS)
-{
-}
-
-SYSCTL_PROC(_machdep, CPU_ADJKERNTZ, adjkerntz, CTLTYPE_INT | CTLFLAG_RW,
-    &adjkerntz, 0, sysctl_machdep_adjkerntz, "I",
-    "Local offset from GMT in seconds");
-SYSCTL_INT(_machdep, CPU_DISRTCSET, disable_rtc_set, CTLFLAG_RW,
-    &disable_rtc_set, 0, "Disable setting the real time clock to system time");
-SYSCTL_INT(_machdep, CPU_WALLCLOCK, wall_cmos_clock, CTLFLAG_RW,
-    &wall_cmos_clock, 0, "Wall CMOS clock assumed");
-#endif	/* PORT_TO_JMIPS */
-
 /*
  * Initialize per cpu data structures, include curthread.
  */


More information about the svn-src-all mailing list