From 998172e3e074e32dac12622840587103a51c7a90 Mon Sep 17 00:00:00 2001 From: jmcneill Date: Sun, 16 Apr 2017 18:02:50 +0000 Subject: [PATCH] Add function ptr for pci_intr_setattr to struct arm32_pci_chipset --- sys/arch/arm/include/pci_machdep.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/arch/arm/include/pci_machdep.h b/sys/arch/arm/include/pci_machdep.h index 4ceab1fb943c..84c21f8aa2ab 100644 --- a/sys/arch/arm/include/pci_machdep.h +++ b/sys/arch/arm/include/pci_machdep.h @@ -1,4 +1,4 @@ -/* $NetBSD: pci_machdep.h,v 1.10 2014/03/29 19:28:26 christos Exp $ */ +/* $NetBSD: pci_machdep.h,v 1.11 2017/04/16 18:02:50 jmcneill Exp $ */ /* * Modified for arm32 by Mark Brinicombe @@ -70,6 +70,8 @@ struct arm32_pci_chipset { const char *(*pc_intr_string)(void *, pci_intr_handle_t, char *, size_t); const struct evcnt *(*pc_intr_evcnt)(void *, pci_intr_handle_t); + int (*pc_intr_setattr)(void *, pci_intr_handle_t *, + int, uint64_t); void *(*pc_intr_establish)(void *, pci_intr_handle_t, int, int (*)(void *), void *); void (*pc_intr_disestablish)(void *, void *);