Subject: CVS commit: src/sys/dev/i2c
To: None <source-changes@NetBSD.org>
From: Allen Briggs <briggs@netbsd.org>
List: source-changes
Date: 01/20/2004 19:12:54
Module Name: src
Committed By: briggs
Date: Tue Jan 20 19:12:54 UTC 2004
Modified Files:
src/sys/dev/i2c: m41st84.c m41st84reg.h
Log Message:
Handle the Halt Update Bit (HT), stored in the Alarm Hour register.
This bit will be set if the clock lost power (and may therefore
not have the correct time). If this bit is set, the stored time
does not advance. So, when setting the clock, if that bit is set,
we simply clear it. It might be nice in some applications to pass
the information up a few layers if the bit is set when we read the
register initially. For now, though, we ignore it.
To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 src/sys/dev/i2c/m41st84.c src/sys/dev/i2c/m41st84reg.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.