Module Name: src
Committed By: jklos
Date: Tue May 25 02:21:30 UTC 2010
Modified Files:
src/sys/arch/amiga/dev: msc.c
Log Message:
For some reason the 6502 clock detection routine takes 1553 iterations
of the delay loop to finish on a normally clocked A2232.
To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/arch/amiga/dev/msc.c
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/amiga/dev/msc.c
diff -u src/sys/arch/amiga/dev/msc.c:1.41 src/sys/arch/amiga/dev/msc.c:1.42
--- src/sys/arch/amiga/dev/msc.c:1.41 Sun May 25 19:22:21 2008
+++ src/sys/arch/amiga/dev/msc.c Tue May 25 02:21:30 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: msc.c,v 1.41 2008/05/25 19:22:21 ad Exp $ */
+/* $NetBSD: msc.c,v 1.42 2010/05/25 02:21:30 jklos Exp $ */
/*
* Copyright (c) 1982, 1986, 1990 The Regents of the University of California.
@@ -93,7 +93,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: msc.c,v 1.41 2008/05/25 19:22:21 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: msc.c,v 1.42 2010/05/25 02:21:30 jklos Exp $");
#include "msc.h"
@@ -1202,7 +1202,7 @@
(void)mlm->ResetBoard;
/* wait until speed detector has finished */
- for (bcount = 0; bcount < 200; bcount++) {
+ for (bcount = 0; bcount < 2000; bcount++) {
delay(10000);
if (mlm->Common.Crystal)
break;