Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/vme Pass the level and vector to vme_intr_map() in t...



details:   https://anonhg.NetBSD.org/src/rev/68516f1704c6
branches:  trunk
changeset: 495234:68516f1704c6
user:      scw <scw%NetBSD.org@localhost>
date:      Mon Jul 24 15:00:41 2000 +0000

description:
Pass the level and vector to vme_intr_map() in the correct order.

diffstat:

 sys/dev/vme/xd.c |  4 ++--
 sys/dev/vme/xy.c |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 8c8f8f4693c9 -r 68516f1704c6 sys/dev/vme/xd.c
--- a/sys/dev/vme/xd.c  Mon Jul 24 15:00:07 2000 +0000
+++ b/sys/dev/vme/xd.c  Mon Jul 24 15:00:41 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: xd.c,v 1.31 2000/07/10 13:54:54 mrg Exp $      */
+/*     $NetBSD: xd.c,v 1.32 2000/07/24 15:00:41 scw Exp $      */
 
 /*
  *
@@ -654,7 +654,7 @@
        }
 
        /* link in interrupt with higher level software */
-       vme_intr_map(ct, va->ivector, va->ilevel, &ih);
+       vme_intr_map(ct, va->ilevel, va->ivector, &ih);
        vme_intr_establish(ct, ih, IPL_BIO, xdcintr, xdc);
        evcnt_attach_dynamic(&xdc->sc_intrcnt, EVCNT_TYPE_INTR, NULL,
            xdc->sc_dev.dv_xname, "intr");
diff -r 8c8f8f4693c9 -r 68516f1704c6 sys/dev/vme/xy.c
--- a/sys/dev/vme/xy.c  Mon Jul 24 15:00:07 2000 +0000
+++ b/sys/dev/vme/xy.c  Mon Jul 24 15:00:41 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: xy.c,v 1.29 2000/07/10 13:54:54 mrg Exp $      */
+/*     $NetBSD: xy.c,v 1.30 2000/07/24 15:00:41 scw Exp $      */
 
 /*
  *
@@ -550,7 +550,7 @@
        }
 
        /* link in interrupt with higher level software */
-       vme_intr_map(ct, va->ivector, va->ilevel, &ih);
+       vme_intr_map(ct, va->ilevel, va->ivector, &ih);
        vme_intr_establish(ct, ih, IPL_BIO, xycintr, xyc);
        evcnt_attach_dynamic(&xyc->sc_intrcnt, EVCNT_TYPE_INTR, NULL,
            xyc->sc_dev.dv_xname, "intr");



Home | Main Index | Thread Index | Old Index