[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: Marc Balmer <mbalmer_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Sat, 24 Nov 2007 08:24:54 -0700 (MST)
CVSROOT: /cvs
Module name: src
Changes by: mbalmer_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2007/11/24 08:24:54
Modified files:
sys/arch/macppc/macppc: clock.c
Log message:
Some macppc models (e.g. the 1.5 GHz G4 MacMini) have a large clock drift
which is due to the timecounter running at a different frequency than what
OpenFirmware tells us. On such machines, measure the actual timecounter
frequency (triggered by a table of affected models) and use this measured
value instead. This brings down the drift to values where adjtime()/adjfreq()
triggered by ntpd(8) can tame the clock.
feedback many, ok miod, kettenis
Visit your host, monkey.org