Port-sparc64 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Sun Fire V240 RTC
Hi,
> Yes. Confirmed. Setting the M5819p with date(1) doesn't help. So we can
> assume it is reset by ALOM using the DS1307.
Thanks for confirming!
> Another test might be to disable the M5819p in my kernel and use the DS1307
> as the one and only.
Yes, that should work for 11. Changing the system time should change the
ALOM time too.
> This patch is for current source. Unfortunately the first two members of
> todr_chip_handle_t changed between 11 and current.
>
> I guess todr_dev is cookie and todr_devaux is bus_cookie in 11? Perhaps I
> can rewrite that code and try later...
There is an older version of the patch, with fewer changes:
http://ftp.netbsd.org/pub/NetBSD/misc/jdc/todr-old.diff
This would be easier to port, especially if you removed the references
to todr_dev and t_dev. The output wouldn't have the device name, but
that might be OK.
With the other changes that I was thinking of, I'm not sure that all
the changes would fit in 11. However, as there are a few people using
11 with similar machines, I could look at making an 11-compatible patch
too. Probably not for a couple of weeks though.
> Yes, that would be nice. Although most users probably won't care which is
> the primary TOD, as long as the time is correct. ;)
Indeed :-)
Regards,
Julian
--
Home |
Main Index |
Thread Index |
Old Index