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 Make this work on the G4 too.



details:   https://anonhg.NetBSD.org/src/rev/96aaf20abd54
branches:  trunk
changeset: 481381:96aaf20abd54
user:      tsubai <tsubai%NetBSD.org@localhost>
date:      Thu Jan 27 17:39:20 2000 +0000

description:
Make this work on the G4 too.

diffstat:

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

diffs (25 lines):

diff -r 086b3eea8066 -r 96aaf20abd54 sys/arch/macppc/dev/adb_direct.c
--- a/sys/arch/macppc/dev/adb_direct.c  Thu Jan 27 17:06:55 2000 +0000
+++ b/sys/arch/macppc/dev/adb_direct.c  Thu Jan 27 17:39:20 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: adb_direct.c,v 1.11 1999/07/11 16:59:31 tsubai Exp $   */
+/*     $NetBSD: adb_direct.c,v 1.12 2000/01/27 17:39:20 tsubai Exp $   */
 
 /* From: adb_direct.c 2.02 4/18/97 jpw */
 
@@ -1240,7 +1240,6 @@
 }
 
 
-
 /*
  * adb_reinit sets up the adb stuff
  *
@@ -1304,6 +1303,7 @@
 
        /* initial scan through the devices */
        for (i = 1; i < 16; i++) {
+               send_string[0] = 0;
                command = (int)(0x0f | ((int)(i & 0x000f) << 4));       /* talk R3 */
                result = adb_op_sync((Ptr)send_string, (Ptr)0,
                    (Ptr)0, (short)command);



Home | Main Index | Thread Index | Old Index