Module Name:    src
Committed By:   mbalmer
Date:           Mon Jun 29 20:49:25 UTC 2009

Modified Files:
        src/sys/arch/mipsco/obio: rambo.h

Log Message:
Fix integer constant RB_FREQUENC, 25MHz/4 is 6250000L, not 625000L

This fixes PR 39931

PR and fix from Miod Vallat <m...@online.fr>, many thanks!


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/mipsco/obio/rambo.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/mipsco/obio/rambo.h
diff -u src/sys/arch/mipsco/obio/rambo.h:1.6 src/sys/arch/mipsco/obio/rambo.h:1.7
--- src/sys/arch/mipsco/obio/rambo.h:1.6	Mon Apr 28 20:23:28 2008
+++ src/sys/arch/mipsco/obio/rambo.h	Mon Jun 29 20:49:25 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: rambo.h,v 1.6 2008/04/28 20:23:28 martin Exp $	*/
+/*	$NetBSD: rambo.h,v 1.7 2009/06/29 20:49:25 mbalmer Exp $	*/
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -109,7 +109,7 @@
 #define	RB_BOUNDRY	(1<<RB_BSIZE)
 
 /* Rambo cycle counter is fed by 25MHz clock then divided by 4 */
-#define	RB_FREQUENCY		625000L
+#define	RB_FREQUENCY		6250000L
 #define	HZ_TO_TICKS(hz)		(RB_FREQUENCY/(hz))
 #define TICKS_TO_USECS(t)	(((t)*4)/25)
 #endif

Reply via email to