--- //depot/vendor/freebsd/src/sys/amd64/amd64/legacy.c 2005/02/15 07:31:46 +++ //depot/user/jhb/acpipci/amd64/amd64/legacy.c 2006/10/04 21:14:19 @@ -105,10 +105,10 @@ { /* - * Add child device with order of 1 so it gets probed - * after ACPI (which is at order 0. + * Add child device with order of 11 so it gets probed + * after ACPI (which is at order 10). */ - if (BUS_ADD_CHILD(parent, 1, "legacy", 0) == NULL) + if (BUS_ADD_CHILD(parent, 11, "legacy", 0) == NULL) panic("legacy: could not attach"); } --- //depot/vendor/freebsd/src/sys/dev/acpica/acpi.c 2007/02/22 06:03:08 +++ //depot/user/jhb/acpipci/dev/acpica/acpi.c 2007/03/05 17:04:36 @@ -350,7 +348,7 @@ 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; } --- //depot/vendor/freebsd/src/sys/i386/bios/smapi.c 2004/06/16 09:52:13 +++ //depot/user/jhb/acpipci/i386/bios/smapi.c 2006/10/04 21:14:19 @@ -166,7 +166,7 @@ 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"); --- //depot/vendor/freebsd/src/sys/i386/bios/smbios.c 2005/07/21 00:20:29 +++ //depot/user/jhb/acpipci/i386/bios/smbios.c 2006/10/04 21:14:19 @@ -131,7 +131,7 @@ return; } - child = BUS_ADD_CHILD(parent, 0, "smbios", -1); + child = BUS_ADD_CHILD(parent, 5, "smbios", -1); device_set_driver(child, driver); bus_set_resource(child, SYS_RES_MEMORY, rid, addr, length); device_set_desc(child, "System Management BIOS"); --- //depot/vendor/freebsd/src/sys/i386/bios/vpd.c 2004/08/31 21:50:29 +++ //depot/user/jhb/acpipci/i386/bios/vpd.c 2006/10/04 21:14:19 @@ -128,7 +128,7 @@ rid = 0; length = ADDR2VPD(addr)->Length; - child = BUS_ADD_CHILD(parent, 0, "vpd", -1); + child = BUS_ADD_CHILD(parent, 5, "vpd", -1); device_set_driver(child, driver); bus_set_resource(child, SYS_RES_MEMORY, rid, addr, length); device_set_desc(child, "Vital Product Data Area"); --- //depot/vendor/freebsd/src/sys/i386/i386/legacy.c 2005/02/15 07:27:17 +++ //depot/user/jhb/acpipci/i386/i386/legacy.c 2006/10/04 21:14:19 @@ -110,10 +110,10 @@ { /* - * Add child device with order of 1 so it gets probed - * after ACPI (which is at order 0. + * Add child device with order of 11 so it gets probed + * after ACPI (which is at order 10). */ - if (BUS_ADD_CHILD(parent, 1, "legacy", 0) == NULL) + if (BUS_ADD_CHILD(parent, 11, "legacy", 0) == NULL) panic("legacy: could not attach"); }