freebsd-nq/sys/arm/sa11x0
Poul-Henning Kamp 9b4a8ab7ba 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
..
assabet_machdep.c Remove some long-dead code 2008-04-08 10:24:42 +00:00
files.sa11x0 Refactor certain ARM bus space methods: instead of having multiple copies of 2008-04-03 18:22:08 +00:00
sa11x0_dmacreg.h
sa11x0_gpioreg.h
sa11x0_io_asm.S
sa11x0_io.c Refactor certain ARM bus space methods: instead of having multiple copies of 2008-04-03 18:22:08 +00:00
sa11x0_irq.S
sa11x0_irqhandler.c style(9) cleanup. 2006-10-21 04:25:00 +00:00
sa11x0_ost.c Now that all platforms use genclock, shuffle things around slightly 2008-04-22 19:38:30 +00:00
sa11x0_ostreg.h
sa11x0_ppcreg.h
sa11x0_reg.h Use pmap_devmap_bootstrap(), instead of mapping the SACOM1 registers 2006-05-23 12:14:14 +00:00
sa11x0_var.h Nuke sa11x0_attach_args. It's a NetBSDIsm, and we have no use for it. 2006-05-29 19:32:32 +00:00
sa11x0.c Wrap a BUS_SETUP_INTR() line at 80. 2007-03-06 10:56:54 +00:00
std.sa11x0
uart_bus_sa1110.c
uart_cpu_sa1110.c Don't expose the uart_ops structure directly, but instead have 2007-04-02 22:00:22 +00:00
uart_dev_sa1110.c It's probably time I learn C. 2007-09-12 18:28:09 +00:00
uart_dev_sa1110.h