Re: mvme68k timecounters.... untested

Izumi Tsutsui <[email protected]> Sun, 17 Sep 2006 16:46:06 +0900
Newsgroups gmane.os.netbsd.ports.m68k,gmane.os.netbsd.ports.mvme68k
Message-ID <[email protected]>
[email protected] wrote:

> +		cnt += (0xffff - PCC_TIMER100HZ);	/* adds 1600 */
 :
> +		/* record progress for timecounter */
> +		clock_pcc_count += (0xffff - PCC_TIMER100HZ);


These should use 0x10000 instead of 0xffff?
Anyway, "pcc_timer_hz2lin(100)" macro is better.

Probably you also have to apply the similar changes against
sys/dev/mvme/clock_pcctwo.c. (shared with mvmeppc. umm)
---
Izumi Tsutsui