freebsd-skq/sys/pc98/cbus
phk 8d647da1ed Now that all platforms use genclock, shuffle things around slightly
for better structure.

Much of this is related to <sys/clock.h>, which should really have
been called <sys/calendar.h>, but unless and until we need the name,
the repocopy can wait.

In general the kernel does not know about minutes, hours, days,
timezones, daylight savings time, leap-years and such.  All that
is theoretically a matter for userland only.

Parts of kernel code does however care: badly designed filesystems
store timestamps in local time and RTC chips almost universally
track time in a YY-MM-DD HH:MM:SS format, and sometimes in local
timezone instead of UTC.  For this we have <sys/clock.h>

<sys/time.h> on the other hand, deals with time_t, timeval, timespec
and so on.  These know only seconds and fractions thereof.

Move inittodr() and resettodr() prototypes to <sys/time.h>.
Retain the names as it is one of the few surviving PDP/VAX references.

Move startrtclock() to <machine/clock.h> on relevant platforms, it
is a MD call between machdep.c/clock.c.  Remove references to it
elsewhere.

Remove a lot of unnecessary <sys/clock.h> includes.

Move the machdep.disable_rtc_set sysctl to subr_rtc.c where it belongs.
XXX: should be kern.disable_rtc_set really, it's not MD.
2008-04-22 19:38:30 +00:00
..
30line.h
cbus_dma.c
cbus_dmareg.h
cbus.h
clock.c Now that all platforms use genclock, shuffle things around slightly 2008-04-22 19:38:30 +00:00
fdc_cbus.c
fdc.c Don't call bus_deactivate_resource() explicitly before calling 2007-03-21 03:38:37 +00:00
fdcreg.h
fdcvar.h
gdc.c Replace explicit calls to video methods with their respective variants 2007-12-29 23:26:59 +00:00
nmi.c
olpt.c o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 20:11:27 +00:00
olptreg.h
pckbd.c Use kbdd_* macros. 2007-12-30 12:27:31 +00:00
pckbdtables.h
pcrtc.c MFi386: Merge yet another the RTC related work. 2008-04-19 08:18:47 +00:00
pmc.c
sc_machdep.h Always set the bell_pitch to 800. This catch up with the sysbeep() argument 2008-04-08 13:10:57 +00:00
scgdcrndr.c Replace explicit calls to video methods with their respective variants 2007-12-29 23:26:59 +00:00
scterm-sck.c
scvtb.c
sio_cbus.c
sio.c Merged from sys/dev/sio/sio.c revision 1.472 2008-02-29 05:09:15 +00:00
syscons_cbus.c Always set the bell_pitch to 800. This catch up with the sysbeep() argument 2008-04-08 13:10:57 +00:00