Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/shark/ofw catch up with struct arm32_pci_chipset ch...



details:   https://anonhg.NetBSD.org/src/rev/ffc6aa4dfb7f
branches:  trunk
changeset: 447199:ffc6aa4dfb7f
user:      macallan <macallan%NetBSD.org@localhost>
date:      Thu Jan 03 18:28:21 2019 +0000

description:
catch up with struct arm32_pci_chipset changes

diffstat:

 sys/arch/shark/ofw/vlpci.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 5f198f7a02e2 -r ffc6aa4dfb7f sys/arch/shark/ofw/vlpci.c
--- a/sys/arch/shark/ofw/vlpci.c        Thu Jan 03 18:21:55 2019 +0000
+++ b/sys/arch/shark/ofw/vlpci.c        Thu Jan 03 18:28:21 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vlpci.c,v 1.8 2017/04/18 14:11:42 flxd Exp $   */
+/*     $NetBSD: vlpci.c,v 1.9 2019/01/03 18:28:21 macallan Exp $       */
 
 /*
  * Copyright (c) 2017 Jonathan A. Kollasch
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vlpci.c,v 1.8 2017/04/18 14:11:42 flxd Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vlpci.c,v 1.9 2019/01/03 18:28:21 macallan Exp $");
 
 #include "opt_pci.h"
 #include "pci.h"
@@ -78,7 +78,7 @@
     size_t);
 static const struct evcnt * vlpci_pc_intr_evcnt(void *, pci_intr_handle_t);
 static void *  vlpci_pc_intr_establish(void *, pci_intr_handle_t, int,
-    int (*)(void *), void *);
+    int (*)(void *), void *, const char *);
 static void    vlpci_pc_intr_disestablish(void *, void *);
 
 #ifdef __HAVE_PCI_CONF_HOOK
@@ -433,7 +433,7 @@
 
        if (ih == PCI_INTERRUPT_PIN_NONE)
                return NULL;
-       snprintf(buf, len, "irq %lu", ih);
+       snprintf(buf, len, "irq %llu", ih);
        return buf;
 }
 
@@ -446,7 +446,7 @@
 
 static void *
 vlpci_pc_intr_establish(void *v, pci_intr_handle_t pih, int ipl,
-    int (*callback)(void *), void *arg)
+    int (*callback)(void *), void *arg, const char *foo)
 {
 
        if (pih == 0)



Home | Main Index | Thread Index | Old Index