Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/prep/prep Set intrtype[irq] if interrupt type is IS...



details:   https://anonhg.NetBSD.org/src/rev/4e4bfeee8049
branches:  trunk
changeset: 499554:4e4bfeee8049
user:      nonaka <nonaka%NetBSD.org@localhost>
date:      Wed Nov 22 16:07:16 2000 +0000

description:
Set intrtype[irq] if interrupt type is IST_NONE.

diffstat:

 sys/arch/prep/prep/extintr.c |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r d0fe3aecb8ad -r 4e4bfeee8049 sys/arch/prep/prep/extintr.c
--- a/sys/arch/prep/prep/extintr.c      Wed Nov 22 14:00:46 2000 +0000
+++ b/sys/arch/prep/prep/extintr.c      Wed Nov 22 16:07:16 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: extintr.c,v 1.3 2000/06/29 07:47:53 mrg Exp $  */
+/*     $NetBSD: extintr.c,v 1.4 2000/11/22 16:07:16 nonaka Exp $       */
 /*     $OpenBSD: isabus.c,v 1.12 1999/06/15 02:40:05 rahnds Exp $      */
 
 /*-
@@ -185,6 +185,9 @@
                panic("intr_establish: bogus irq or type");
 
        switch (intrtype[irq]) {
+       case IST_NONE:
+               intrtype[irq] = type;
+               break;
        case IST_EDGE:
        case IST_LEVEL:
                if (type == intrtype[irq])



Home | Main Index | Thread Index | Old Index