CVSROOT: /cvs Module name: src Changes by: m...@cvs.openbsd.org 2012/04/06 13:00:49
Modified files: sys/arch/mips64/include: arcbios.h sys/arch/sgi/hpc: dsclock.c sys/arch/sgi/sgi: ip22.h ip22_machdep.c Log message: Rework IP22 RTC year base computation, again. It turns out that different Indy PROM versions use different year bases - after all, using 1970 instead of the previously used value of 1940 smelled like a bug, and probably was, so this eventually got fixed in later PROM versions. Instead of hardcoding a year base depending upon the system, we will now ask ARCBios for its current year, and compare it to what can be read from the RTC registers to figure out what year base is in use by the PROM.