diff options
author | imp <imp@FreeBSD.org> | 2010-07-15 01:53:17 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2010-07-15 01:53:17 +0000 |
commit | f1868a5864d99fcfdbeb512af1ee0baf32cb9f6f (patch) | |
tree | 420504969899b4da80629e533086b89fb3513956 | |
parent | 2f99e0894d5cd53ae39f1cdb6c0e2c2862f73ed2 (diff) | |
download | FreeBSD-src-f1868a5864d99fcfdbeb512af1ee0baf32cb9f6f.zip FreeBSD-src-f1868a5864d99fcfdbeb512af1ee0baf32cb9f6f.tar.gz |
Remove i386-ish sysctls. Also, make the bootinfo sysctl OID_AUTO.
-rw-r--r-- | sys/mips/mips/machdep.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/sys/mips/mips/machdep.c b/sys/mips/mips/machdep.c index f92c953..b461e95 100644 --- a/sys/mips/mips/machdep.c +++ b/sys/mips/mips/machdep.c @@ -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. */ |