Fix compile error for *_pci_intr_establish().
This commit is contained in:
parent
1caac07df9
commit
df756a7782
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: iq31244_pci.c,v 1.6 2014/03/29 19:28:27 christos Exp $ */
|
||||
/* $NetBSD: iq31244_pci.c,v 1.7 2019/01/09 07:49:22 msaitoh Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
|
||||
|
@ -40,7 +40,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: iq31244_pci.c,v 1.6 2014/03/29 19:28:27 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: iq31244_pci.c,v 1.7 2019/01/09 07:49:22 msaitoh Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -63,7 +63,7 @@ int iq80321_pci_intr_map(const struct pci_attach_args *,
|
|||
const char *iq80321_pci_intr_string(void *, pci_intr_handle_t, char *, size_t);
|
||||
const struct evcnt *iq80321_pci_intr_evcnt(void *, pci_intr_handle_t);
|
||||
void *iq80321_pci_intr_establish(void *, pci_intr_handle_t,
|
||||
int, int (*func)(void *), void *);
|
||||
int, int (*func)(void *), void *, const char *);
|
||||
void iq80321_pci_intr_disestablish(void *, void *);
|
||||
|
||||
void
|
||||
|
@ -146,7 +146,7 @@ iq80321_pci_intr_evcnt(void *v, pci_intr_handle_t ih)
|
|||
|
||||
void *
|
||||
iq80321_pci_intr_establish(void *v, pci_intr_handle_t ih, int ipl,
|
||||
int (*func)(void *), void *arg)
|
||||
int (*func)(void *), void *arg, const char *xname)
|
||||
{
|
||||
|
||||
return (i80321_intr_establish(ih, ipl, func, arg));
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ixdp425_pci.c,v 1.12 2018/10/23 08:38:18 jmcneill Exp $ */
|
||||
/* $NetBSD: ixdp425_pci.c,v 1.13 2019/01/09 07:49:22 msaitoh Exp $ */
|
||||
#define PCI_DEBUG
|
||||
/*
|
||||
* Copyright (c) 2003
|
||||
|
@ -28,7 +28,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: ixdp425_pci.c,v 1.12 2018/10/23 08:38:18 jmcneill Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: ixdp425_pci.c,v 1.13 2019/01/09 07:49:22 msaitoh Exp $");
|
||||
|
||||
/*
|
||||
* IXDP425 PCI interrupt support.
|
||||
|
@ -55,7 +55,7 @@ static int ixdp425_pci_intr_map(const struct pci_attach_args *,
|
|||
static const char *ixdp425_pci_intr_string(void *, pci_intr_handle_t, char *, size_t);
|
||||
static const struct evcnt *ixdp425_pci_intr_evcnt(void *, pci_intr_handle_t);
|
||||
static void *ixdp425_pci_intr_establish(void *, pci_intr_handle_t, int,
|
||||
int (*func)(void *), void *);
|
||||
int (*func)(void *), void *, const char *);
|
||||
static void ixdp425_pci_intr_disestablish(void *, void *);
|
||||
|
||||
void
|
||||
|
@ -229,7 +229,7 @@ ixdp425_pci_intr_evcnt(void *v, pci_intr_handle_t ih)
|
|||
|
||||
static void *
|
||||
ixdp425_pci_intr_establish(void *v, pci_intr_handle_t ih, int ipl,
|
||||
int (*func)(void *), void *arg)
|
||||
int (*func)(void *), void *arg, const char *xname)
|
||||
{
|
||||
#ifdef PCI_DEBUG
|
||||
printf("ixdp425_pci_intr_establish(v=%p, irq=%d, ipl=%d, func=%p, arg=%p)\n",
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: npwr_fc_pci.c,v 1.4 2014/03/29 19:28:28 christos Exp $ */
|
||||
/* $NetBSD: npwr_fc_pci.c,v 1.5 2019/01/09 07:49:22 msaitoh Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2001, 2002 Wasabi Systems, Inc.
|
||||
|
@ -40,7 +40,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: npwr_fc_pci.c,v 1.4 2014/03/29 19:28:28 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: npwr_fc_pci.c,v 1.5 2019/01/09 07:49:22 msaitoh Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -63,7 +63,7 @@ int iq80321_pci_intr_map(const struct pci_attach_args *,
|
|||
const char *iq80321_pci_intr_string(void *, pci_intr_handle_t, char *, size_t);
|
||||
const struct evcnt *iq80321_pci_intr_evcnt(void *, pci_intr_handle_t);
|
||||
void *iq80321_pci_intr_establish(void *, pci_intr_handle_t,
|
||||
int, int (*func)(void *), void *);
|
||||
int, int (*func)(void *), void *, const char *);
|
||||
void iq80321_pci_intr_disestablish(void *, void *);
|
||||
|
||||
void
|
||||
|
@ -162,7 +162,7 @@ iq80321_pci_intr_evcnt(void *v, pci_intr_handle_t ih)
|
|||
|
||||
void *
|
||||
iq80321_pci_intr_establish(void *v, pci_intr_handle_t ih, int ipl,
|
||||
int (*func)(void *), void *arg)
|
||||
int (*func)(void *), void *arg, const char *xname)
|
||||
{
|
||||
|
||||
return (i80321_intr_establish(ih, ipl, func, arg));
|
||||
|
|
Loading…
Reference in New Issue