diff options
author | phk <phk@FreeBSD.org> | 2006-10-02 15:42:02 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2006-10-02 15:42:02 +0000 |
commit | 84cc0f277fd9e49e824e8ae9424d9a976b7f21bd (patch) | |
tree | 0bb3ea96259ad035c87da7424d8294bbca513c8b /sys/powerpc/aim/clock.c | |
parent | 81bdd4b32997569134b13c7951c97dd500d71623 (diff) | |
download | FreeBSD-src-84cc0f277fd9e49e824e8ae9424d9a976b7f21bd.zip FreeBSD-src-84cc0f277fd9e49e824e8ae9424d9a976b7f21bd.tar.gz |
Second part of a little cleanup in the calendar/timezone/RTC handling.
Split subr_clock.c in two parts (by repo-copy):
subr_clock.c contains generic RTC and calendaric stuff. etc.
subr_rtc.c contains the newbus'ified RTC interface.
Centralize the machdep.{adjkerntz,disable_rtc_set,wall_cmos_clock}
sysctls and associated variables into subr_clock.c. They are
not machine dependent and we have generic code that relies on being
present so they are not even optional.
Diffstat (limited to 'sys/powerpc/aim/clock.c')
-rw-r--r-- | sys/powerpc/aim/clock.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/powerpc/aim/clock.c b/sys/powerpc/aim/clock.c index cdf2290..90e1e40 100644 --- a/sys/powerpc/aim/clock.c +++ b/sys/powerpc/aim/clock.c @@ -82,16 +82,6 @@ static u_long ticks_per_sec = 12500000; static long ticks_per_intr; static volatile u_long lasttb; -static int sysctl_machdep_adjkerntz(SYSCTL_HANDLER_ARGS); - -int wall_cmos_clock; /* wall CMOS clock assumed if != 0 */ -SYSCTL_INT(_machdep, OID_AUTO, wall_cmos_clock, - CTLFLAG_RW, &wall_cmos_clock, 0, ""); - -int adjkerntz; /* local offset from GMT in seconds */ -SYSCTL_PROC(_machdep, OID_AUTO, adjkerntz, CTLTYPE_INT|CTLFLAG_RW, - &adjkerntz, 0, sysctl_machdep_adjkerntz, "I", ""); - #define SECDAY 86400 #define DIFF19041970 2082844800 |