CVSROOT:        /cvs
Module name:    src
Changes by:     patr...@cvs.openbsd.org 2020/04/29 12:44:28

Modified files:
        sys/dev/i2c    : abx80x.c 

Log message:
Writing and reading time has been broken in abcrtc(4) as well.  I was
being too clever trying to use the SMBus block reads/writes.  Instead
the registers were written with an offset:  Seconds were stored in the
minutes, minutes were stored in the hours.  No wonder time was ticking
so slowly.  Removing the bogus length field and simply writing/reading
the time register values is enough.

ok kettenis@

Reply via email to