bus_intr_establish() signature change.

The additional `fast trap' argument is ignored in these drivers.
This commit is contained in:
pk 2002-12-10 12:21:02 +00:00
parent 7007959dc1
commit db6d8afe02
2 changed files with 12 additions and 8 deletions

View File

@ -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 @@ void *dmabus_intr_establish __P((
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 @@ dmaattach_sbus(parent, self, aux)
}
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;

View File

@ -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 @@ static void *qec_intr_establish __P((
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 @@ qec_bus_map(t, baddr, size, flags, va, hp)
}
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;