Subject: Re: proposal for changes to todr interface
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Garrett D'Amore <garrett_damore@tadpole.com>
List: tech-kern
Date: 09/06/2006 11:57:16
Izumi Tsutsui wrote:
> thorpej@shagadelic.org wrote:
>
>   
>> Yah, device_register() could set a "todr-use-localtime" property to  
>> <true/> or <false/>, and MI drivers could query that.
>>     
>
> A bit off topic, but I wonder if we could pass a rtc_offset info
> from bootloader (which could set the value by installboot or
> from some config file) so that we don't have to recompile or
> modify kernels only for options RTC_OFFSET.
> (for people who don't like rtclocaltime in rc.conf ;-p)
> ---
> Izumi Tsutsui
>   

Perfectly on-topic.  I think that this also strongly argues in favor of
a property to handle this, so that the port can do it at device_register
time, without making it a compile time option.

-- 
Garrett D'Amore, Principal Software Engineer
Tadpole Computer / Computing Technologies Division,
General Dynamics C4 Systems
http://www.tadpolecomputer.com/
Phone: 951 325-2134  Fax: 951 325-2191