Change the probing order priority of acpi so that acpi is probed after

pcib instance is initialized because accesses to PCI_Config region can
occur during ACPI initialization.
Note that this is a short term solution, more consideration will be
required in order to integrate ACPI into the newbus probe sequence.
This commit is contained in:
iwasaki 2000-09-01 20:37:07 +00:00
parent a6b7de97e3
commit d6381a4a90

View File

@ -1238,7 +1238,7 @@ acpi_identify(driver_t *driver, device_t parent)
{
device_t child;
child = BUS_ADD_CHILD(parent, 0, "acpi", 0);
child = BUS_ADD_CHILD(parent, 101, "acpi", 0); /* after pcib(100) */
if (child == NULL) {
panic("acpi_identify");