summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2013-08-07 07:29:21 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2013-08-07 07:29:21 +0000
commit90995fd1f69222c92bffafb661665b88a5668b65 (patch)
tree30806dbdd563ebc9c8dd8c9eb7c1a0b24f41d9c3 /sys/dev/pci
parentc894b994ad2bbf72ae4a92f82b403a148212f1ed (diff)
Mimic what's done on sparc64 and parse the OpenFirmware device tree to
enumerate the pci devices. This allow us to not store the interrupt vector in the interrupt line register and to not try to attach pci devices disabled by firmware. With inputs from and ok kettenis@
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/pcivar.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/pci/pcivar.h b/sys/dev/pci/pcivar.h
index 2aec82ec631..0fe08aaa9b0 100644
--- a/sys/dev/pci/pcivar.h
+++ b/sys/dev/pci/pcivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcivar.h,v 1.67 2012/09/19 23:01:21 kettenis Exp $ */
+/* $OpenBSD: pcivar.h,v 1.68 2013/08/07 07:29:19 mpi Exp $ */
/* $NetBSD: pcivar.h,v 1.23 1997/06/06 23:48:05 thorpej Exp $ */
/*
@@ -73,8 +73,6 @@ struct pci_softc;
#include <alpha/pci/pci_machdep.h>
#elif defined(__i386__)
#include <i386/pci/pci_machdep.h>
-#elif defined(__powerpc__)
-#include <powerpc/pci/pci_machdep.h>
#elif defined(__sgi__)
#include <sgi/pci/pci_machdep.h>
#else