diff options
author | Jordan Hargrave <jordan@cvs.openbsd.org> | 2010-07-01 01:14:37 +0000 |
---|---|---|
committer | Jordan Hargrave <jordan@cvs.openbsd.org> | 2010-07-01 01:14:37 +0000 |
commit | 8b0cabf08a8a73f93206ccb4d96db6d1e3a86481 (patch) | |
tree | 2b954609a061785a81f2bfec906fb56843f2aade /sys | |
parent | db778909ae6815bbff51d8f90069a1335fc17793 (diff) |
Fix subordinate bus # for multi-root PCI buses
ok marco, kettenis
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/acpi/acpi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/acpi/acpi.c b/sys/dev/acpi/acpi.c index 9066eabb651..49808b848de 100644 --- a/sys/dev/acpi/acpi.c +++ b/sys/dev/acpi/acpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpi.c,v 1.165 2010/06/30 22:41:43 thib Exp $ */ +/* $OpenBSD: acpi.c,v 1.166 2010/07/01 01:14:36 jordan Exp $ */ /* * Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com> * Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org> @@ -578,6 +578,7 @@ acpi_getpci(struct aml_node *node, void *arg) res.v_buffer, acpi_getminbus, &pci->bus); } + pci->sub = pci->bus; node->pci = pci; dnprintf(10, "found PCI root: %s %d\n", aml_nodename(node), pci->bus); |