Module Name: src
Committed By: scole
Date: Fri Aug 5 17:04:52 UTC 2016
Modified Files:
src/sys/arch/ia64/pci: pci_machdep.c
Log Message:
PR port-ia64/51261
Add pci_enumerate_bus stub so kernels will compile
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/ia64/pci/pci_machdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/ia64/pci/pci_machdep.c
diff -u src/sys/arch/ia64/pci/pci_machdep.c:1.4 src/sys/arch/ia64/pci/pci_machdep.c:1.5
--- src/sys/arch/ia64/pci/pci_machdep.c:1.4 Fri Oct 2 05:22:51 2015
+++ src/sys/arch/ia64/pci/pci_machdep.c Fri Aug 5 17:04:52 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: pci_machdep.c,v 1.4 2015/10/02 05:22:51 msaitoh Exp $ */
+/* $NetBSD: pci_machdep.c,v 1.5 2016/08/05 17:04:52 scole Exp $ */
/*
* Copyright (c) 2009, 2010 KIYOHARA Takashi
* All rights reserved.
@@ -25,7 +25,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pci_machdep.c,v 1.4 2015/10/02 05:22:51 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_machdep.c,v 1.5 2016/08/05 17:04:52 scole Exp $");
#include <machine/bus.h>
#include <machine/sal.h>
@@ -102,3 +102,13 @@ pci_conf_write(pci_chipset_tag_t pc, pci
if (res.sal_status < 0)
printf("pci configuration write failed\n");
}
+
+int
+pci_enumerate_bus(struct pci_softc *sc, const int *locators,
+ int (*match)(const struct pci_attach_args *), struct pci_attach_args *pap)
+{
+ /* XXX implement */
+ panic("ia64 pci_enumerate_bus not implemented");
+
+ return -1;
+}