Subject: Re: O2 sync almost done
To: Christopher SEKIYA <wileyc@rezrov.net>
From: Rafal Boni <rafal@attbi.com>
List: port-sgimips
Date: 01/08/2003 22:29:28
In message <20030108065735.GA8607@rezrov.net>, you write:
-> On Wed, Jan 08, 2003 at 12:29:41AM -0500, Rafal Boni wrote:
->
-> > I am not sure where the century value gets tucked; it could be in DOW or
-> > maybe in the NVRAM?
->
-> According to the DS17287 docs, the century byte is located in bank 1, offset
-> 0x48. Probably should initialize the clock to bank 1 and leave it there,
-> possibly split off ds17287-specific clock get/set routines from the stock
-> mcclock routines as there's no century provision in the base code.
Oh, one more thing -- we set the BINARY flag in register B, which is bogus,
as we store/read all data in BCD.
--rafal
----
Rafal Boni rafal@attbi.com
We are all worms. But I do believe I am a glowworm. -- Winston Churchill