Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mac68k/dev Poll for serial interrupts. Return to 3...



details:   https://anonhg.NetBSD.org/src/rev/783371a5004d
branches:  trunk
changeset: 474131:783371a5004d
user:      briggs <briggs%NetBSD.org@localhost>
date:      Tue Jun 29 04:45:59 1999 +0000

description:
Poll for serial interrupts.  Return to 3000us delay instead of 4000us in init.

diffstat:

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

diffs (34 lines):

diff -r 2fb43df73a14 -r 783371a5004d sys/arch/mac68k/dev/adb_direct.c
--- a/sys/arch/mac68k/dev/adb_direct.c  Tue Jun 29 03:07:01 1999 +0000
+++ b/sys/arch/mac68k/dev/adb_direct.c  Tue Jun 29 04:45:59 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: adb_direct.c,v 1.24 1999/06/28 01:56:56 briggs Exp $   */
+/*     $NetBSD: adb_direct.c,v 1.25 1999/06/29 04:45:59 briggs Exp $   */
 
 /* From: adb_direct.c 2.02 4/18/97 jpw */
 
@@ -713,7 +713,6 @@
 
        delay(ADB_DELAY);       /* yuck (don't remove) */
 
-if (!mac68k_machine.aux_interrupts)
        (void)intr_dispatch(0x70); /* grab any serial interrupts */
 
        if (ADB_INTR_IS_ON)
@@ -761,7 +760,6 @@
                        adbActionState = ADB_ACTION_IN;
                }
                delay(ADB_DELAY);
-if (!mac68k_machine.aux_interrupts)
                (void)intr_dispatch(0x70); /* grab any serial interrupts */
                goto switch_start;
                break;
@@ -2133,7 +2131,7 @@
 
        /* send an ADB reset first */
        adb_op_sync((Ptr)0, (Ptr)0, (Ptr)0, (short)0x00);
-       delay(4000);
+       delay(3000);
 
        /*
         * Probe for ADB devices. Probe devices 1-15 quickly to determine



Home | Main Index | Thread Index | Old Index