diff options
author | Jordan Hargrave <jordan@cvs.openbsd.org> | 2010-06-29 22:08:30 +0000 |
---|---|---|
committer | Jordan Hargrave <jordan@cvs.openbsd.org> | 2010-06-29 22:08:30 +0000 |
commit | 239f93eac26516451d8fe99c92ce8e530e1f6e96 (patch) | |
tree | 85345019cadae6936addfbeafb4062bd5eab8398 /sys/arch/amd64/pci | |
parent | d0c7e69d7f21d2c6df66db72892887d848952ef2 (diff) |
Add support for mapping ACPI to PCI devices
ok kettenis, deraadt
Diffstat (limited to 'sys/arch/amd64/pci')
-rw-r--r-- | sys/arch/amd64/pci/pci_machdep.c | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/sys/arch/amd64/pci/pci_machdep.c b/sys/arch/amd64/pci/pci_machdep.c index 265d4dfdbe3..d2f35bed37e 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.32 2009/09/28 15:58:30 kettenis Exp $ */ +/* $OpenBSD: pci_machdep.c,v 1.33 2010/06/29 22:08:29 jordan Exp $ */ /* $NetBSD: pci_machdep.c,v 1.3 2003/05/07 21:33:58 fvdl Exp $ */ /*- @@ -418,3 +418,16 @@ pci_init_extents(void) EX_CONFLICTOK | EX_NOWAIT); } } + +#include "acpi.h" +#if NACPI > 0 +void acpi_pci_match(struct device *, struct pci_attach_args *); +#endif + +void +pci_dev_postattach(struct device *dev, struct pci_attach_args *pa) +{ +#if NACPI > 0 + acpi_pci_match(dev, pa); +#endif +} |