summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpi
diff options
context:
space:
mode:
authoriwasaki <iwasaki@FreeBSD.org>2000-09-01 20:37:07 +0000
committeriwasaki <iwasaki@FreeBSD.org>2000-09-01 20:37:07 +0000
commitd6381a4a904967ef5d0c9f0ce00648a7676cec77 (patch)
tree0cb9382cc1e1459cab4c756eeee938278bbb5961 /sys/dev/acpi
parenta6b7de97e3e709e699c0638c9ff07e8fc3477772 (diff)
downloadFreeBSD-src-d6381a4a904967ef5d0c9f0ce00648a7676cec77.zip
FreeBSD-src-d6381a4a904967ef5d0c9f0ce00648a7676cec77.tar.gz
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.
Diffstat (limited to 'sys/dev/acpi')
-rw-r--r--sys/dev/acpi/acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/acpi/acpi.c b/sys/dev/acpi/acpi.c
index f2e3eae..ddf3958 100644
--- a/sys/dev/acpi/acpi.c
+++ b/sys/dev/acpi/acpi.c
@@ -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");
OpenPOWER on IntegriCloud