Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Ignatios Souvatzis <is@netbsd.org>
List: source-changes
Date: 01/03/2000 12:30:52
Module Name:	syssrc
Committed By:	is
Date:		Mon Jan  3 20:30:52 UTC 2000

Modified Files:
	syssrc/sys/arch/amiga/dev: a2kbbc.c a34kbbc.c

Log Message:
Write part of the y2k fix.
This is not strictly necessary, as
- at least for the Ricoh chip in the A3000 and A4000, as those chips' Y10
  registers happily continue to count up from 0xA if manually incremented
  past 0x9.
- the Amiga ROMs and "setclock" commands seem to interpret 0xA 0x? like
  200?, etc.

However,
- the Amiga setclock writes the modulo 10 value into the chips
- the chip docs of both chips, including the Y2K information of their
  manufacturers, only refer to the range 0-9
- the chips increment from 9 to 0

So we better conform to this, to avoid unpleasant surprises.


To generate a diff of this commit:
cvs rdiff -r1.8 -r1.9 syssrc/sys/arch/amiga/dev/a2kbbc.c
cvs rdiff -r1.4 -r1.5 syssrc/sys/arch/amiga/dev/a34kbbc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.