summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/arm/footbridge/footbridge_clock.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/arch/arm/footbridge/footbridge_clock.c b/sys/arch/arm/footbridge/footbridge_clock.c
index fbe733a4367..43596f03384 100644
--- a/sys/arch/arm/footbridge/footbridge_clock.c
+++ b/sys/arch/arm/footbridge/footbridge_clock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: footbridge_clock.c,v 1.1 2004/02/01 05:09:49 drahn Exp $ */
+/* $OpenBSD: footbridge_clock.c,v 1.2 2004/02/14 00:17:06 drahn Exp $ */
/* $NetBSD: footbridge_clock.c,v 1.17 2003/03/23 14:12:25 chris Exp $ */
/*
@@ -281,13 +281,12 @@ void
cpu_initclocks()
{
/* stathz and profhz should be set to something, we have the timer */
-#if 0
+
if (stathz == 0)
- stathz = hz;
+ stathz = 128;
if (profhz == 0)
- profhz = stathz * 5;
-#endif
+ profhz = stathz * 8;
/* Report the clock frequencies */
printf("clock: hz=%d stathz = %d profhz = %d\n", hz, stathz, profhz);