Subject: Millennium BUG!
To: None <port-amiga@netbsd.org>
From: Adam Ciarcinski <adam@pulstar.albedo.art.pl>
List: port-amiga
Date: 01/02/2000 12:16:39
Hi,
I've found that port-amiga can't correctly read date from battery backed-up
clock. Actullay the kernel say that there is no bbclock.
It can be fixed by inserting a bit of code in amiga/dev/a2kbbc.c and
amiga/dev/a34kbbc.c after:
dt.dt_year += CLOCK_BASE_YEAR;
insert:
if (dt.dt_year < STARTOFTIME) {
dt.dt_year += 100;
}
(Probably the year condition below if useless then).
Happy New Year. :)
regards
- Adam