Subject: Re: Timecounter on sun4c
To: Fanch <fanch@kekpar.net>
From: Frank Kardel <kardel@netbsd.org>
List: current-users
Date: 08/24/2006 12:07:39
Fanch wrote:

>>
>> But could you please try the attached patch ?
>> I think I saw/found the same inconsistency (passing the wrong timer 
>> registers
>> -stat instead of clock counter- to the setup code) as in other parts 
>> of the
>> sparc-cpu specific code.
>
> Good guess, your patch fully corrects the problem. I'm somewhat
> puzzled : I have read timer_sun4.c ten times without noticing this.

I found a similar one in sun4m but missed it in sun4/sun4c. So I basically
knew what to look for last night :-)

>
> Thanks for your prompt answer (and, generaly speaking, for
> timercounters code).
>
Welcome. (I'll extend this thanks to PHK - the original author)

> Fanch

Frank