Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/macppc/dev Add a delay() in adb_read_date_time() so...



details:   https://anonhg.NetBSD.org/src/rev/e63d7ace87a4
branches:  trunk
changeset: 526253:e63d7ace87a4
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Mon Apr 29 10:15:29 2002 +0000

description:
Add a delay() in adb_read_date_time() so that my Apus2000 can get
correct date in inittodr().

diffstat:

 sys/arch/macppc/dev/adb_direct.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r c6f6f483018e -r e63d7ace87a4 sys/arch/macppc/dev/adb_direct.c
--- a/sys/arch/macppc/dev/adb_direct.c  Mon Apr 29 09:55:11 2002 +0000
+++ b/sys/arch/macppc/dev/adb_direct.c  Mon Apr 29 10:15:29 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: adb_direct.c,v 1.21 2002/02/23 10:47:16 dbj Exp $      */
+/*     $NetBSD: adb_direct.c,v 1.22 2002/04/29 10:15:29 tsutsui Exp $  */
 
 /* From: adb_direct.c 2.02 4/18/97 jpw */
 
@@ -1892,6 +1892,7 @@
                while (0 == flag)       /* wait for result */
                        ;
 
+               delay(10);
                memcpy(time, output + 1, 4);
                return 0;
 



Home | Main Index | Thread Index | Old Index