From 422c66bba0cc7ef602c8f0b87c51c638a55f238e Mon Sep 17 00:00:00 2001 From: Dale Rahn Date: Wed, 16 Nov 2011 14:06:33 +0000 Subject: Better clock rate .7% error is much better than 7% error. --- sys/arch/beagle/dev/amptimer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') 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 * @@ -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 *); -- cgit v1.2.3