diff options
author | Christian Ehrhardt <ehrhardt@cvs.openbsd.org> | 2012-10-04 08:32:21 +0000 |
---|---|---|
committer | Christian Ehrhardt <ehrhardt@cvs.openbsd.org> | 2012-10-04 08:32:21 +0000 |
commit | d525c72d29f74e6fd969b94ba05eb9e61117bf42 (patch) | |
tree | f8c1a3ca3f260146f7b30f303c9126a5c130e395 /sys/arch/amd64 | |
parent | 02f35d5431bb0a3b460c7ea9538769c94699f136 (diff) |
Use information provided by ACPI to attach secondary PCI host bridges.
ok kettenis@
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r-- | sys/arch/amd64/amd64/mainbus.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/amd64/amd64/mainbus.c b/sys/arch/amd64/amd64/mainbus.c index 064ef2cf7aa..19e58621307 100644 --- a/sys/arch/amd64/amd64/mainbus.c +++ b/sys/arch/amd64/amd64/mainbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mainbus.c,v 1.25 2012/09/19 23:23:50 kettenis Exp $ */ +/* $OpenBSD: mainbus.c,v 1.26 2012/10/04 08:32:20 ehrhardt Exp $ */ /* $NetBSD: mainbus.c,v 1.1 2003/04/26 18:39:29 fvdl Exp $ */ /* @@ -218,6 +218,9 @@ mainbus_attach(struct device *parent, struct device *self, void *aux) mba.mba_pba.pba_domain = pci_ndomains++; mba.mba_pba.pba_bus = 0; config_found(self, &mba.mba_pba, mainbus_print); +#if NACPI > 0 + acpi_pciroots_attach(self, &mba.mba_pba, mainbus_print); +#endif } #endif |