c94ffba5d6
mpacpi_scan_pci() and mpbios_scan_pci() are identical code, so replace them with mp_pci_scan(). Introduce mp_pci_childdetached(), which helps us to detach root PCI buses that were enumerated either by MP BIOS or by ACPI. Let us detach and re-attach PCI buses from mainbus0 on i386. This is necessarily a work-in-progress, because testing detach and re-attach is very difficult: to detach and re-attach the entire PCI tree on most x86 computers that I own is not possible because some essential device attaches under the PCI subtree: the console, com0, NIC, or storage controller always attaches in the PCI tree. |
||
---|---|---|
.. | ||
acpi | ||
amd64 | ||
compile | ||
conf | ||
include | ||
Makefile |