Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mac68k/obio Disable ASC interrupt enabling for now....



details:   https://anonhg.NetBSD.org/src/rev/c722004ce94b
branches:  trunk
changeset: 472139:c722004ce94b
user:      ender <ender%NetBSD.org@localhost>
date:      Thu Apr 22 18:00:34 1999 +0000

description:
Disable ASC interrupt enabling for now.  We don't currently use it, and
it seems to be causing hangs at attach time on LCII's.

diffstat:

 sys/arch/mac68k/obio/asc.c |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (45 lines):

diff -r 382c70547559 -r c722004ce94b sys/arch/mac68k/obio/asc.c
--- a/sys/arch/mac68k/obio/asc.c        Thu Apr 22 16:32:01 1999 +0000
+++ b/sys/arch/mac68k/obio/asc.c        Thu Apr 22 18:00:34 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: asc.c,v 1.30 1998/12/22 08:47:07 scottr Exp $  */
+/*     $NetBSD: asc.c,v 1.31 1999/04/22 18:00:34 ender Exp $   */
 
 /*
  * Copyright (C) 1997 Scott Reynolds
@@ -99,8 +99,10 @@
 
 static int     asc_ring_bell __P((void *, int, int, int));
 static void    asc_stop_bell __P((void *));
+#if __notyet__
 static void    asc_intr_enable __P((void));
 static void    asc_intr __P((void *));
+#endif
 
 static int     ascmatch __P((struct device *, struct cfdata *, void *));
 static void    ascattach __P((struct device *, struct device *, void *));
@@ -186,9 +188,10 @@
        printf("\n");
 
        mac68k_set_bell_callback(asc_ring_bell, sc);
-
+#if __notyet__
        via2_register_irq(VIA2_ASC, asc_intr, sc);
        asc_intr_enable();
+#endif
 }
 
 int
@@ -363,6 +366,7 @@
                bus_space_write_1(sc->sc_tag, sc->sc_handle, 0x801, 0);
 }
 
+#if __notyet__
 static void
 asc_intr_enable()
 {
@@ -389,3 +393,4 @@
                printf("asc_intr(%p)\n", sc);
 #endif
 }
+#endif



Home | Main Index | Thread Index | Old Index