Date: Tue, 19 May 2009 11:03:01 -0600 (MDT) From: "M. Warner Losh" <imp@bsdimp.com> To: gonzo@FreeBSD.org Cc: svn-src-projects@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r192365 - projects/mips/sys/mips/atheros Message-ID: <20090519.110301.-646221483.imp@bsdimp.com> In-Reply-To: <200905190251.n4J2pU1N082603@svn.freebsd.org> References: <200905190251.n4J2pU1N082603@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <200905190251.n4J2pU1N082603@svn.freebsd.org> Oleksandr Tymoshenko <gonzo@FreeBSD.org> writes: : Author: gonzo : Date: Tue May 19 02:51:30 2009 : New Revision: 192365 : URL: http://svn.freebsd.org/changeset/base/192365 : : Log: : - ar71xx increases Count value every two cycles : : Modified: : projects/mips/sys/mips/atheros/ar71xx_machdep.c : : Modified: projects/mips/sys/mips/atheros/ar71xx_machdep.c : ============================================================================== : --- projects/mips/sys/mips/atheros/ar71xx_machdep.c Tue May 19 02:43:21 2009 (r192364) : +++ projects/mips/sys/mips/atheros/ar71xx_machdep.c Tue May 19 02:51:30 2009 (r192365) : @@ -157,7 +157,7 @@ platform_start(__register_t a0 __unused, : div = ((pll_config >> PLL_CPU_DIV_SEL_SHIFT) & PLL_CPU_DIV_SEL_MASK) : + 1; : platform_counter_freq = freq / div; : - mips_timer_init_params(platform_counter_freq, 0); : + mips_timer_init_params(platform_counter_freq, 1); The second argument is bogus. This can be determined by one of the CONFIG registers. Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090519.110301.-646221483.imp>