Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/ia64/pci PR port-ia64/51261



details:   https://anonhg.NetBSD.org/src/rev/2d01bd140b14
branches:  trunk
changeset: 817027:2d01bd140b14
user:      scole <scole%NetBSD.org@localhost>
date:      Fri Aug 05 17:04:52 2016 +0000

description:
PR port-ia64/51261

Add pci_enumerate_bus stub so kernels will compile

diffstat:

 sys/arch/ia64/pci/pci_machdep.c |  14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diffs (32 lines):

diff -r eb95eb1f242d -r 2d01bd140b14 sys/arch/ia64/pci/pci_machdep.c
--- a/sys/arch/ia64/pci/pci_machdep.c   Fri Aug 05 17:04:16 2016 +0000
+++ b/sys/arch/ia64/pci/pci_machdep.c   Fri Aug 05 17:04:52 2016 +0000
@@ -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 @@
        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;
+}



Home | Main Index | Thread Index | Old Index