]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Move i386 to generic RTC handling code.
authorPoul-Henning Kamp <phk@FreeBSD.org>
Sat, 12 Apr 2008 20:46:06 +0000 (20:46 +0000)
committerPoul-Henning Kamp <phk@FreeBSD.org>
Sat, 12 Apr 2008 20:46:06 +0000 (20:46 +0000)
commit294643529963c2690c135c52942ce79c189e05dd
tree70d1676e2b422b55269715bee8ef4bb7b977448c
parentc9ad6040dd83d6bc2fd90c0a3485de0d84ea8d61
Move i386 to generic RTC handling code.

Make clock_if.m and subr_rtc.c standard on i386

Add hints for "atrtc" driver, for non-PnP, non-ACPI systems.
NB: Make sure to install GENERIC.hints into /boot/device.hints in these!

Nuke MD inittodr(), resettodr() functions.

Don't attach to PHP0B00 in the "attimer" dummy driver any more, and remove
comments that no longer apply for that reason.

Add new "atrtc" device driver, which handles IBM PC AT Real Time
Clock compatible devices using subr_rtc and clock_if.

This driver is not entirely clean: other code still fondles the
hardware to get a statclock interrupt on non-ACPI timer systems.

Wrap some overly long lines.

After it has settled in -current, this will be ported to amd64.

Technically this is MFC'able, but I fail to see a good reason.
sys/conf/files.i386
sys/i386/conf/GENERIC.hints
sys/i386/isa/clock.c
sys/isa/atrtc.c