Subject: Re: HEADS UP! New generic TODR support committed
To: None <garrett_damore@tadpole.com>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: tech-kern
Date: 09/04/2006 01:03:30
garrett_damore@tadpole.com wrote:

> To use the MI code, simply remove your own implementations of
> todr_attach, inittodr, and resettodr, and define __HAVE_GENERIC_TODR in
> machine/types.h.

Isn't it better to move "file kern/kern_todr.c" definition from
MI sys/conf/files to MD sys/arch/${MACHINE}/conf/files.${MACHINE}
until all ports switch, rather than wrapping whole of the code with
#ifdef __HAVE_GENERIC_TODR?
(though it may be okay if __HAVE_GENERIC_TODR might be required
 to enable or disable part of some other code)

>>			base = 21*SECYR + 186*SECDAY + SECDAY/2;

BTW, shouldn't this default date be at least "today"?
---
Izumi Tsutsui