summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorJordan Hargrave <jordan@cvs.openbsd.org>2010-07-08 20:56:32 +0000
committerJordan Hargrave <jordan@cvs.openbsd.org>2010-07-08 20:56:32 +0000
commitdd962e3f38e19806f683e5169e01253927248af4 (patch)
tree4c6b8d37f0da22f500938a26a6f8b52d304b3be4 /sys/arch
parent933022a0b195fe12232960cf6cc3e54fe63f7354 (diff)
Add mapping for ACPI device to PCI bdf (match autoconf tree)
Simplify resource parsing function to use buffer argument Convert namespace linked lists to use queue macros ok marco@, deraadt@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amd64/pci/pci_machdep.c4
-rw-r--r--sys/arch/i386/pci/pci_machdep.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/amd64/pci/pci_machdep.c b/sys/arch/amd64/pci/pci_machdep.c
index 5c36eb3d91e..f4d4d603692 100644
--- a/sys/arch/amd64/pci/pci_machdep.c
+++ b/sys/arch/amd64/pci/pci_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_machdep.c,v 1.34 2010/07/01 06:29:32 jordan Exp $ */
+/* $OpenBSD: pci_machdep.c,v 1.35 2010/07/08 20:56:31 jordan Exp $ */
/* $NetBSD: pci_machdep.c,v 1.3 2003/05/07 21:33:58 fvdl Exp $ */
/*-
@@ -428,6 +428,6 @@ void
pci_dev_postattach(struct device *dev, struct pci_attach_args *pa)
{
#if NACPI > 0
- //acpi_pci_match(dev, pa);
+ acpi_pci_match(dev, pa);
#endif
}
diff --git a/sys/arch/i386/pci/pci_machdep.c b/sys/arch/i386/pci/pci_machdep.c
index f75a68e06c7..d4a0336a104 100644
--- a/sys/arch/i386/pci/pci_machdep.c
+++ b/sys/arch/i386/pci/pci_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_machdep.c,v 1.52 2010/07/01 06:29:32 jordan Exp $ */
+/* $OpenBSD: pci_machdep.c,v 1.53 2010/07/08 20:56:31 jordan Exp $ */
/* $NetBSD: pci_machdep.c,v 1.28 1997/06/06 23:29:17 thorpej Exp $ */
/*-
@@ -667,6 +667,6 @@ void
pci_dev_postattach(struct device *dev, struct pci_attach_args *pa)
{
#if NACPI > 0
- //acpi_pci_match(dev, pa);
+ acpi_pci_match(dev, pa);
#endif
}