Subject: real time clock (todr) updates
To: None <port-netwinder@netbsd.org, port-cats@netbsd.org>
From: Garrett D'Amore <garrett_damore@tadpole.com>
List: port-cats
Date: 09/11/2006 13:44:17
All,

Attached is a diff to convert netwinder and cats to the MI todr framework.

Note that there is currently no TODR chip driver that I can see for
Netwinder.  As Netwinder apparently lacks a battery backed clock (opting
for a large capacitor instead -- only good for a couple of days without
power I guess), this isn't much of a loss.

However, this means that once you power down or reboot the unit, you'll
get the standard "no TOD clock present" warning.   I recommend that
someone look at writing a driver for the TOD clock, so that this warning
is not printed out if the RTC has not lost power.  (Plus it will mean
more accurate time keeping when powering off, even if only for a few
minutes.)

Having looked a bit at the Linux sources, I'd even venture to improve
Netwinder support a bit if someone out there has a spare unit or two
that they are willing to ship me.

-- 
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