Subject: CVS commit: src/sys/arch/sparc/sparc
To: None <>
From: Frank Kardel <>
List: source-changes
Date: 08/24/2006 09:52:46
Module Name:	src
Committed By:	kardel
Date:		Thu Aug 24 09:52:46 UTC 2006

Modified Files:
	src/sys/arch/sparc/sparc: timer_sun4.c

Log Message:
Pass the correct (timer instead of stat counter) timer registers to timerattach().
History: This cleans up another long standing inconsistency where timerblurb for delay() was
calibrated against the stat timer instead the clock timer. Before timecounters
this didn't matter at al as both timer run with the same frequency and the
calibration was a frequency based calibration.

Misbehaving clock found by Fanch (at) kekpar dot net on current-users@ - Thanks.
Fix verified to work by Fanch.

To generate a diff of this commit:
cvs rdiff -r1.14 -r1.15 src/sys/arch/sparc/sparc/timer_sun4.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.