summaryrefslogtreecommitdiffstats
path: root/sys/i386/bios/smapi.c
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/i386/bios/smapi.c
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/i386/bios/smapi.c')
-rw-r--r--sys/i386/bios/smapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/bios/smapi.c b/sys/i386/bios/smapi.c
index 9879c90..a97e2a9 100644
--- a/sys/i386/bios/smapi.c
+++ b/sys/i386/bios/smapi.c
@@ -166,7 +166,7 @@ smapi_identify (driver_t *driver, device_t parent)
rid = 0;
length = ADDR2HDR(addr)->length;
- child = BUS_ADD_CHILD(parent, 0, "smapi", -1);
+ child = BUS_ADD_CHILD(parent, 5, "smapi", -1);
device_set_driver(child, driver);
bus_set_resource(child, SYS_RES_MEMORY, rid, addr, length);
device_set_desc(child, "SMAPI BIOS");
OpenPOWER on IntegriCloud