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 revision 1.10 (requested by...



details:   https://anonhg.NetBSD.org/src/rev/fb554b608c55
branches:  netbsd-1-4
changeset: 469728:fb554b608c55
user:      he <he%NetBSD.org@localhost>
date:      Sun Nov 21 15:04:45 1999 +0000

description:
Pull up revision 1.10 (requested by sr):
  Clean up the ADB driver, and eliminate duplicate keystrokes under
  heavy load, fixing PR#7870.

diffstat:

 sys/arch/mac68k/dev/pm_direct.c |  12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)

diffs (42 lines):

diff -r 623de5517c98 -r fb554b608c55 sys/arch/mac68k/dev/pm_direct.c
--- a/sys/arch/mac68k/dev/pm_direct.c   Sun Nov 21 15:04:24 1999 +0000
+++ b/sys/arch/mac68k/dev/pm_direct.c   Sun Nov 21 15:04:45 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pm_direct.c,v 1.8 1999/03/05 06:45:41 scottr Exp $     */
+/*     $NetBSD: pm_direct.c,v 1.8.4.1 1999/11/21 15:04:45 he Exp $     */
 
 /*
  * Copyright (C) 1997 Takashi Hamada
@@ -220,8 +220,6 @@
 };
 extern void    adb_pass_up __P((struct adbCommand *));
 
-extern int ite_polling;                /* Are we polling?  (Debugger mode) */
-
 #if 0
 /*
  * Define the external functions
@@ -1030,9 +1028,9 @@
                packet.cmd = command;
                packet.unsol = 0;
                packet.ack_only = 1;
-               ite_polling = 1;
+               adb_polling = 1;
                adb_pass_up(&packet);
-               ite_polling = 0;
+               adb_polling = 0;
        }
 
        rval = pmgrop(&pmdata);
@@ -1104,9 +1102,9 @@
        packet.compData = adbCompData;
        packet.unsol = 0;
        packet.ack_only = 0;
-       ite_polling = 1;
+       adb_polling = 1;
        adb_pass_up(&packet);
-       ite_polling = 0;
+       adb_polling = 0;
 
        adbWaiting = 0;
        adbBuffer = (long)0;



Home | Main Index | Thread Index | Old Index