Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Dec 2002 05:46:49 -0800 (PST)
From:      Poul-Henning Kamp <phk@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/i386/isa clock.c
Message-ID:  <200212041346.gB4Dkn6f039081@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
phk         2002/12/04 05:46:49 PST

  Modified files:
    sys/i386/isa         clock.c 
  Log:
  Use the correct value when writing the Day Of Week byte in the CMOS.
  The correct range is [1...7] with Sunday=1, but we have been writing
  [0...6] with Sunday=0.
  
  The Soekris computers flagged the zero, zapped the date, so if you
  rebooted your soekris on a sunday, it would come up with a wrong
  date.
  
  Bruce has a more extensive rework of this code, but we will stick with
  the minimalist fix for now.
  
  Spotted by:     Soren Kristensen <soren@soekris.com>
  Thanks to:      Michael Sierchio <kudzu@tenebras.com>.
  Confirmed by:   bde
  Approved by:    re
  
  Revision  Changes    Path
  1.191     +1 -1      src/sys/i386/isa/clock.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212041346.gB4Dkn6f039081>