summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2011-11-16 14:06:33 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2011-11-16 14:06:33 +0000
commit422c66bba0cc7ef602c8f0b87c51c638a55f238e (patch)
treeddf853029737c2b9009cf95a0b6bb29f0b0794f5 /sys
parenta83e574709ee78083758fdd6bf78948523eeead4 (diff)
Better clock rate .7% error is much better than 7% error.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/beagle/dev/amptimer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/beagle/dev/amptimer.c b/sys/arch/beagle/dev/amptimer.c
index cefd16bfdc2..4ce4005e6e0 100644
--- a/sys/arch/beagle/dev/amptimer.c
+++ b/sys/arch/beagle/dev/amptimer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: amptimer.c,v 1.6 2011/11/10 19:37:01 uwe Exp $ */
+/* $OpenBSD: amptimer.c,v 1.7 2011/11/16 14:06:32 drahn Exp $ */
/*
* Copyright (c) 2011 Dale Rahn <drahn@openbsd.org>
*
@@ -43,7 +43,7 @@
#define GTIMER_AUTOINC 0x218
/* XXX - PERIPHCLK */
-#define TIMER_FREQUENCY 512 * 1024 * 1024 /* XXX - PERIPHCLK? */
+#define TIMER_FREQUENCY 500 * 1000 * 1000 /* XXX - PERIPHCLK? */
u_int amptimer_get_timecount(struct timecounter *);