summaryrefslogtreecommitdiffstats
path: root/sys/mips/atheros/if_arge.c
diff options
context:
space:
mode:
authorgonzo <gonzo@FreeBSD.org>2009-11-06 21:53:38 +0000
committergonzo <gonzo@FreeBSD.org>2009-11-06 21:53:38 +0000
commitb3356f84e2e566525a11bd93d9091b785ce5753e (patch)
tree75f0f255d960d03be2b824268705596427adb504 /sys/mips/atheros/if_arge.c
parenteae021635d6c497648bf5f2012ab6e465e334c56 (diff)
downloadFreeBSD-src-b3356f84e2e566525a11bd93d9091b785ce5753e.zip
FreeBSD-src-b3356f84e2e566525a11bd93d9091b785ce5753e.tar.gz
- Fix: Wrong register is used for initial value reading
Diffstat (limited to 'sys/mips/atheros/if_arge.c')
-rw-r--r--sys/mips/atheros/if_arge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/mips/atheros/if_arge.c b/sys/mips/atheros/if_arge.c
index 95e0c12..6263ef1 100644
--- a/sys/mips/atheros/if_arge.c
+++ b/sys/mips/atheros/if_arge.c
@@ -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);
OpenPOWER on IntegriCloud