Subject: Re: CVS commit: src/sys/arch/x68k
To: None <gdamore@netbsd.org>
From: Frank Kardel <kardel@netbsd.org>
List: source-changes
Date: 09/19/2006 12:26:36
Garrett D'Amore wrote:

>Module Name:	src
>Committed By:	gdamore
>Date:		Tue Sep 19 10:13:10 UTC 2006
>
>Modified Files:
>	src/sys/arch/x68k/include: types.h
>	src/sys/arch/x68k/x68k: clock.c
>
>Log Message:
>Convert x68k to timecounters.   This conversion is not tested, due to lack
>of available test candidates.  It uses the previously unused (as far as I
>can tell) Timer D, in freerunning mode.  It only uses a 1/200 prescaler
>(20KHz), as anything faster would roll over too fast for the system timer.
>(Gotta love 8-bit resolution timers!)  Approved for untested commit by core@.
>  
>
Using that counter gives that platform something it never had - a
50 usec resolution clock. So, even 8-Bit timer at 20KHz can have
value :-)

Now we need to find true hardware to verify that :-)

>
>To generate a diff of this commit:
>cvs rdiff -r1.10 -r1.11 src/sys/arch/x68k/include/types.h
>cvs rdiff -r1.23 -r1.24 src/sys/arch/x68k/x68k/clock.c
>
>Please note that diffs are not public domain; they are subject to the
>copyright notices on the relevant files.
>  
>
Frank