DragonFly BSD
DragonFly commits List (threaded) for 2004-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/i386/isa clock.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 4 Apr 2004 00:00:06 -0800 (PST)

dillon      2004/04/04 00:00:06 PST

DragonFly src repository

  Modified files:
    sys/i386/isa         clock.c 
  Log:
  Setting the date/time does not always properly write-back the RTC, causing
  the date/time to be wrong again after a reboot.  This was due to the recent
  systimer changes which updated the 'time_second' global via hardclock() only.
  Change the writeback code to use microtime() instead of time_second.
  
  Reported-by: esmith <esmith@xxxxxxxxxxxx>
  
  Revision  Changes    Path
  1.14      +6 -3      src/sys/i386/isa/clock.c


http://www.dragonflybsd.org/cvsweb/src/sys/i386/isa/clock.c.diff?r1=1.13&r2=1.14&f=h



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]