Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm Fix compile error for *_pci_intr_establish().
details: https://anonhg.NetBSD.org/src/rev/9fab367fd10c
branches: trunk
changeset: 447381:9fab367fd10c
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Wed Jan 09 07:49:22 2019 +0000
description:
Fix compile error for *_pci_intr_establish().
diffstat:
sys/arch/evbarm/iq31244/iq31244_pci.c | 8 ++++----
sys/arch/evbarm/ixdp425/ixdp425_pci.c | 8 ++++----
sys/arch/evbarm/npwr_fc/npwr_fc_pci.c | 8 ++++----
3 files changed, 12 insertions(+), 12 deletions(-)
diffs (108 lines):
diff -r 998253594a60 -r 9fab367fd10c sys/arch/evbarm/iq31244/iq31244_pci.c
--- a/sys/arch/evbarm/iq31244/iq31244_pci.c Wed Jan 09 04:02:26 2019 +0000
+++ b/sys/arch/evbarm/iq31244/iq31244_pci.c Wed Jan 09 07:49:22 2019 +0000
@@ -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 @@
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 @@
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));
diff -r 998253594a60 -r 9fab367fd10c sys/arch/evbarm/ixdp425/ixdp425_pci.c
--- a/sys/arch/evbarm/ixdp425/ixdp425_pci.c Wed Jan 09 04:02:26 2019 +0000
+++ b/sys/arch/evbarm/ixdp425/ixdp425_pci.c Wed Jan 09 07:49:22 2019 +0000
@@ -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 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 @@
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",
diff -r 998253594a60 -r 9fab367fd10c sys/arch/evbarm/npwr_fc/npwr_fc_pci.c
--- a/sys/arch/evbarm/npwr_fc/npwr_fc_pci.c Wed Jan 09 04:02:26 2019 +0000
+++ b/sys/arch/evbarm/npwr_fc/npwr_fc_pci.c Wed Jan 09 07:49:22 2019 +0000
@@ -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 @@
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 @@
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));
Home |
Main Index |
Thread Index |
Old Index