Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Nov 2009 21:53:38 +0000 (UTC)
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r199005 - projects/mips/sys/mips/atheros
Message-ID:  <200911062153.nA6Lrcrq029502@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gonzo
Date: Fri Nov  6 21:53:38 2009
New Revision: 199005
URL: http://svn.freebsd.org/changeset/base/199005

Log:
  - Fix: Wrong register is used for initial value reading

Modified:
  projects/mips/sys/mips/atheros/if_arge.c

Modified: projects/mips/sys/mips/atheros/if_arge.c
==============================================================================
--- projects/mips/sys/mips/atheros/if_arge.c	Fri Nov  6 20:33:53 2009	(r199004)
+++ projects/mips/sys/mips/atheros/if_arge.c	Fri Nov  6 21:53:38 2009	(r199005)
@@ -620,7 +620,7 @@ arge_link_task(void *arg, int pending)
 			    rx_filtmask);
 
 			/* set PLL registers */
-			sec_cfg = ATH_READ_REG(AR71XX_PLL_CPU_CONFIG);
+			sec_cfg = ATH_READ_REG(AR71XX_PLL_SEC_CONFIG);
 			sec_cfg &= ~(3 << sc->arge_pll_reg_shift);
 			sec_cfg |= (2 << sc->arge_pll_reg_shift);
 



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