summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2007-03-20 20:21:44 +0000
committerjhb <jhb@FreeBSD.org>2007-03-20 20:21:44 +0000
commitd6f063aecf4ecc266a38fc31c69eb8fba2cf0307 (patch)
tree22e1f02eb3fa316d23bf41e3a3f860d6e48beb53 /sys/dev/acpica
parent87cf8b87eecf17f4cac144adc49385a01715efdb (diff)
downloadFreeBSD-src-d6f063aecf4ecc266a38fc31c69eb8fba2cf0307.zip
FreeBSD-src-d6f063aecf4ecc266a38fc31c69eb8fba2cf0307.tar.gz
Tweak the probe/attach order of devices on the x86 nexus devices.
Various BIOS-related psuedo-devices are added at an order of 5. acpi0 is added at an order of 10, and legacy0 is added at an order of 11.
Diffstat (limited to 'sys/dev/acpica')
-rw-r--r--sys/dev/acpica/acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c
index 3c19ef5..448c626 100644
--- a/sys/dev/acpica/acpi.c
+++ b/sys/dev/acpica/acpi.c
@@ -350,7 +350,7 @@ acpi_identify(driver_t *driver, device_t parent)
snprintf(acpi_ca_version, sizeof(acpi_ca_version), "%x", ACPI_CA_VERSION);
/* Attach the actual ACPI device. */
- if ((child = BUS_ADD_CHILD(parent, 0, "acpi", 0)) == NULL) {
+ if ((child = BUS_ADD_CHILD(parent, 10, "acpi", 0)) == NULL) {
device_printf(parent, "device_identify failed\n");
return_VOID;
}
OpenPOWER on IntegriCloud