Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amiga/dev For some reason the 6502 clock detection ...
details: https://anonhg.NetBSD.org/src/rev/f84b9c0734c6
branches: trunk
changeset: 755166:f84b9c0734c6
user: jklos <jklos%NetBSD.org@localhost>
date: Tue May 25 02:21:30 2010 +0000
description:
For some reason the 6502 clock detection routine takes 1553 iterations
of the delay loop to finish on a normally clocked A2232.
diffstat:
sys/arch/amiga/dev/msc.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 721d9982ac1e -r f84b9c0734c6 sys/arch/amiga/dev/msc.c
--- a/sys/arch/amiga/dev/msc.c Tue May 25 01:17:55 2010 +0000
+++ b/sys/arch/amiga/dev/msc.c Tue May 25 02:21:30 2010 +0000
@@ -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;
Home |
Main Index |
Thread Index |
Old Index