diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2006-10-02 15:42:02 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2006-10-02 15:42:02 +0000 |
commit | b69f71eb29797c1a8175e6db41d45e6b2b08b2b5 (patch) | |
tree | 0bb3ea96259ad035c87da7424d8294bbca513c8b /sys/isa | |
parent | 4f53344b73268c3ccbe313ffbb18641e838c00b0 (diff) | |
download | src-b69f71eb29797c1a8175e6db41d45e6b2b08b2b5.tar.gz src-b69f71eb29797c1a8175e6db41d45e6b2b08b2b5.zip |
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.
Notes
Notes:
svn path=/head/; revision=162958
Diffstat (limited to 'sys/isa')
-rw-r--r-- | sys/isa/atrtc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/isa/atrtc.c b/sys/isa/atrtc.c index 9a80d8385ab8..4ca970914827 100644 --- a/sys/isa/atrtc.c +++ b/sys/isa/atrtc.c @@ -103,9 +103,7 @@ __FBSDID("$FreeBSD$"); #define TIMER_DIV(x) ((timer_freq + (x) / 2) / (x)) -int adjkerntz; /* local offset from GMT in seconds */ int clkintr_pending; -int disable_rtc_set; /* disable resettodr() if != 0 */ int pscnt = 1; int psdiv = 1; int statclock_disable; @@ -115,7 +113,6 @@ int statclock_disable; u_int timer_freq = TIMER_FREQ; int timer0_max_count; int timer0_real_max_count; -int wall_cmos_clock; /* wall CMOS clock assumed if != 0 */ struct mtx clock_lock; #define RTC_LOCK mtx_lock_spin(&clock_lock) #define RTC_UNLOCK mtx_unlock_spin(&clock_lock) |