Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/sbus bus_intr_establish() signature change.



details:   https://anonhg.NetBSD.org/src/rev/5e40e0ed8b18
branches:  trunk
changeset: 540342:5e40e0ed8b18
user:      pk <pk%NetBSD.org@localhost>
date:      Tue Dec 10 12:21:02 2002 +0000

description:
bus_intr_establish() signature change.

The additional `fast trap' argument is ignored in these drivers.

diffstat:

 sys/dev/sbus/dma_sbus.c |  10 ++++++----
 sys/dev/sbus/qec.c      |  10 ++++++----
 2 files changed, 12 insertions(+), 8 deletions(-)

diffs (88 lines):

diff -r aa0f7267bc21 -r 5e40e0ed8b18 sys/dev/sbus/dma_sbus.c
--- a/sys/dev/sbus/dma_sbus.c   Tue Dec 10 12:17:35 2002 +0000
+++ b/sys/dev/sbus/dma_sbus.c   Tue Dec 10 12:21:02 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dma_sbus.c,v 1.16 2002/10/02 16:52:35 thorpej Exp $ */
+/*     $NetBSD: dma_sbus.c,v 1.17 2002/12/10 12:21:02 pk Exp $ */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -66,7 +66,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dma_sbus.c,v 1.16 2002/10/02 16:52:35 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dma_sbus.c,v 1.17 2002/12/10 12:21:02 pk Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -107,7 +107,8 @@
                int,                    /*`device class' level*/
                int,                    /*flags*/
                int (*) __P((void *)),  /*handler*/
-               void *));               /*handler arg*/
+               void *,                 /*handler arg*/
+               void (*) __P((void)))); /*optional fast trap handler*/
 
 static bus_space_tag_t dma_alloc_bustag __P((struct dma_softc *sc));
 
@@ -235,13 +236,14 @@
 }
 
 void *
-dmabus_intr_establish(t, pri, level, flags, handler, arg)
+dmabus_intr_establish(t, pri, level, flags, handler, arg, fastvec)
        bus_space_tag_t t;
        int pri;
        int level;
        int flags;
        int (*handler) __P((void *));
        void *arg;
+       void (*fastvec) __P((void));    /* ignored */
 {
        struct lsi64854_softc *sc = t->cookie;
 
diff -r aa0f7267bc21 -r 5e40e0ed8b18 sys/dev/sbus/qec.c
--- a/sys/dev/sbus/qec.c        Tue Dec 10 12:17:35 2002 +0000
+++ b/sys/dev/sbus/qec.c        Tue Dec 10 12:21:02 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: qec.c,v 1.24 2002/10/02 16:52:43 thorpej Exp $ */
+/*     $NetBSD: qec.c,v 1.25 2002/12/10 12:21:03 pk Exp $ */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: qec.c,v 1.24 2002/10/02 16:52:43 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: qec.c,v 1.25 2002/12/10 12:21:03 pk Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -72,7 +72,8 @@
                int,                    /*`device class' interrupt level*/
                int,                    /*flags*/
                int (*) __P((void *)),  /*handler*/
-               void *));               /*arg*/
+               void *,                 /*arg*/
+               void (*) __P((void)))); /*optional fast trap handler*/
 
 CFATTACH_DECL(qec, sizeof(struct qec_softc),
     qecmatch, qecattach, NULL, NULL);
@@ -259,13 +260,14 @@
 }
 
 void *
-qec_intr_establish(t, pri, level, flags, handler, arg)
+qec_intr_establish(t, pri, level, flags, handler, arg, fastvec)
        bus_space_tag_t t;
        int pri;
        int level;
        int flags;
        int (*handler) __P((void *));
        void *arg;
+       void (*fastvec) __P((void));    /* ignored */
 {
        struct qec_softc *sc = t->cookie;
 



Home | Main Index | Thread Index | Old Index