Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 May 2009 02:51:30 +0000 (UTC)
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r192365 - projects/mips/sys/mips/atheros
Message-ID:  <200905190251.n4J2pU1N082603@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 	cninit();
 
 	printf("platform frequency: %lld\n", platform_counter_freq);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905190251.n4J2pU1N082603>