freebsd-nq/sys/i386
Poul-Henning Kamp 92a306a2b6 Use the correct value when writing the Day Of Week byte in the CMOS.
The correct range is [1...7] with Sunday=1, but we have been writing
[0...6] with Sunday=0.

The Soekris computers flagged the zero, zapped the date, so if you
rebooted your soekris on a sunday, it would come up with a wrong
date.

Bruce has a more extensive rework of this code, but we will stick with
the minimalist fix for now.

Spotted by:	Soren Kristensen <soren@soekris.com>
Thanks to:	Michael Sierchio <kudzu@tenebras.com>.
Confirmed by:	bde
Approved by:	re
2002-12-04 13:46:49 +00:00
..
acpica Add `if (!cold)' checkings for functions which is called via SYSINIT. 2002-11-24 02:27:07 +00:00
apm Be consistent about functions being static. 2002-10-16 08:57:14 +00:00
bios Be consistent about functions being static. 2002-10-16 08:57:14 +00:00
compile
conf Make 3dfx i386-only. The memrange API it uses may be defined in an MI 2002-11-08 20:04:38 +00:00
i386 Use the correct value when writing the Day Of Week byte in the CMOS. 2002-12-04 13:46:49 +00:00
ibcs2 Back our kernel support for reliable signal queues. 2002-10-01 17:15:53 +00:00
include Align the FPU state in the ucontext and sigcontext to 16 bytes 2002-12-02 19:58:55 +00:00
isa Use the correct value when writing the Day Of Week byte in the CMOS. 2002-12-04 13:46:49 +00:00
linux bzero() the sigframe before we fill it. This was not done at all in 2002-11-02 07:41:04 +00:00
pci MFp4: 2002-11-14 05:22:37 +00:00
svr4 Include <sys/systm.h> for the definition of offsetof() instead of depending 2002-09-05 13:08:22 +00:00
Makefile