summaryrefslogtreecommitdiff
path: root/sys/powerpc
diff options
context:
space:
mode:
authorPaolo Pisati <piso@FreeBSD.org>2007-03-07 11:42:14 +0000
committerPaolo Pisati <piso@FreeBSD.org>2007-03-07 11:42:14 +0000
commitbabacef4efe21018fb3fc8359a0d7d707ae2a169 (patch)
tree3cac11aaadbbcdd8f8bb32eb7530ffa32c570118 /sys/powerpc
parent13f35fd9bed704d47cacb5823cd79b494facf706 (diff)
Notes
Diffstat (limited to 'sys/powerpc')
-rw-r--r--sys/powerpc/aim/nexus.c8
-rw-r--r--sys/powerpc/powerpc/nexus.c8
-rw-r--r--sys/powerpc/powerpc/pic_if.m1
3 files changed, 9 insertions, 8 deletions
diff --git a/sys/powerpc/aim/nexus.c b/sys/powerpc/aim/nexus.c
index 277e58c3053e..bc7a477080a5 100644
--- a/sys/powerpc/aim/nexus.c
+++ b/sys/powerpc/aim/nexus.c
@@ -112,7 +112,7 @@ static device_t nexus_add_child(device_t, int, const char *, int);
static int nexus_read_ivar(device_t, device_t, int, uintptr_t *);
static int nexus_write_ivar(device_t, device_t, int, uintptr_t);
static int nexus_setup_intr(device_t, device_t, struct resource *, int,
- driver_intr_t *, void *, void **);
+ driver_filter_t *, driver_intr_t *, void *, void **);
static int nexus_teardown_intr(device_t, device_t, struct resource *,
void *);
static struct resource *nexus_alloc_resource(device_t, device_t, int, int *,
@@ -290,7 +290,7 @@ nexus_write_ivar(device_t dev, device_t child, int which, uintptr_t value)
static int
nexus_setup_intr(device_t dev, device_t child, struct resource *res, int flags,
- driver_intr_t *intr, void *arg, void **cookiep)
+ driver_filter_t *filter, driver_intr_t *intr, void *arg, void **cookiep)
{
struct nexus_softc *sc;
@@ -299,8 +299,8 @@ nexus_setup_intr(device_t dev, device_t child, struct resource *res, int flags,
if (device_get_state(sc->sc_pic) != DS_ATTACHED)
panic("nexus_setup_intr: no pic attached\n");
- return (PIC_SETUP_INTR(sc->sc_pic, child, res, flags, intr, arg,
- cookiep));
+ return (PIC_SETUP_INTR(sc->sc_pic, child, res, flags, filter, intr,
+ arg, cookiep));
}
static int
diff --git a/sys/powerpc/powerpc/nexus.c b/sys/powerpc/powerpc/nexus.c
index 277e58c3053e..bc7a477080a5 100644
--- a/sys/powerpc/powerpc/nexus.c
+++ b/sys/powerpc/powerpc/nexus.c
@@ -112,7 +112,7 @@ static device_t nexus_add_child(device_t, int, const char *, int);
static int nexus_read_ivar(device_t, device_t, int, uintptr_t *);
static int nexus_write_ivar(device_t, device_t, int, uintptr_t);
static int nexus_setup_intr(device_t, device_t, struct resource *, int,
- driver_intr_t *, void *, void **);
+ driver_filter_t *, driver_intr_t *, void *, void **);
static int nexus_teardown_intr(device_t, device_t, struct resource *,
void *);
static struct resource *nexus_alloc_resource(device_t, device_t, int, int *,
@@ -290,7 +290,7 @@ nexus_write_ivar(device_t dev, device_t child, int which, uintptr_t value)
static int
nexus_setup_intr(device_t dev, device_t child, struct resource *res, int flags,
- driver_intr_t *intr, void *arg, void **cookiep)
+ driver_filter_t *filter, driver_intr_t *intr, void *arg, void **cookiep)
{
struct nexus_softc *sc;
@@ -299,8 +299,8 @@ nexus_setup_intr(device_t dev, device_t child, struct resource *res, int flags,
if (device_get_state(sc->sc_pic) != DS_ATTACHED)
panic("nexus_setup_intr: no pic attached\n");
- return (PIC_SETUP_INTR(sc->sc_pic, child, res, flags, intr, arg,
- cookiep));
+ return (PIC_SETUP_INTR(sc->sc_pic, child, res, flags, filter, intr,
+ arg, cookiep));
}
static int
diff --git a/sys/powerpc/powerpc/pic_if.m b/sys/powerpc/powerpc/pic_if.m
index 0952c4eb420e..2b22b0f5c0b9 100644
--- a/sys/powerpc/powerpc/pic_if.m
+++ b/sys/powerpc/powerpc/pic_if.m
@@ -44,6 +44,7 @@ METHOD int setup_intr {
device_t child;
struct resource *res;
int flags;
+ driver_filter_t *filter;
driver_intr_t *intr;
void *arg;
void **cookiep;