Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/arch/mac68k/dev Pull up revisions 1.28, 1.30-1.32 (v...



details:   https://anonhg.NetBSD.org/src/rev/cef97c2d8266
branches:  netbsd-1-4
changeset: 469723:cef97c2d8266
user:      he <he%NetBSD.org@localhost>
date:      Sun Nov 21 15:02:46 1999 +0000

description:
Pull up revisions 1.28,1.30-1.32 (via patch, requested by sr):
  Clean up the ADB driver, and eliminate duplicate keystrokes under
  heavy load, fixing PR#7870.

diffstat:

 sys/arch/mac68k/dev/adb.c |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (44 lines):

diff -r 812da3a891a1 -r cef97c2d8266 sys/arch/mac68k/dev/adb.c
--- a/sys/arch/mac68k/dev/adb.c Sat Nov 20 17:43:15 1999 +0000
+++ b/sys/arch/mac68k/dev/adb.c Sun Nov 21 15:02:46 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: adb.c,v 1.27 1999/02/11 06:41:07 ender Exp $   */
+/*     $NetBSD: adb.c,v 1.27.4.1 1999/11/21 15:02:46 he Exp $  */
 
 /*
  * Copyright (C) 1994  Bradley A. Grantham
@@ -63,7 +63,7 @@
 /*
  * Global variables.
  */
-int    adb_initted = 0;        /* adb_init() has completed successfully */
+int    adb_polling = 0;        /* Are we polling?  (Debugger mode) */
 #ifdef ADB_DEBUG
 int    adb_debug = 0;          /* Output debugging messages */
 #endif /* ADB_DEBUG */
@@ -105,6 +105,8 @@
        int totaladbs;
        int adbindex, adbaddr;
 
+       adb_polling = 1;
+
 #ifdef MRG_ADB
        /* 
         * Even if serial console only, some models require the
@@ -140,7 +142,7 @@
                printf("adb: calling ADBAlternateInit.\n");
 #endif
 
-       printf(" (mrg)  ");
+       printf(" (mrg)");
        ADBAlternateInit();
 #else
        ADBReInit();
@@ -175,6 +177,7 @@
 
                (void)config_found(dev, &aa_args, adbprint);
        }
+       adb_polling = 0;
 }
 
 



Home | Main Index | Thread Index | Old Index