MFC r203785: acpi: drop the second bus_generic_attach pass
X-MFCto7 after: 1 week
This commit is contained in:
parent
57ff35ce74
commit
e850e4719f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/stable/8/; revision=205007
@ -1659,14 +1659,7 @@ acpi_probe_children(device_t bus)
|
|||||||
bus_generic_probe(bus);
|
bus_generic_probe(bus);
|
||||||
|
|
||||||
/* Probe/attach all children, created staticly and from the namespace. */
|
/* Probe/attach all children, created staticly and from the namespace. */
|
||||||
ACPI_DEBUG_PRINT((ACPI_DB_OBJECTS, "first bus_generic_attach\n"));
|
ACPI_DEBUG_PRINT((ACPI_DB_OBJECTS, "acpi bus_generic_attach\n"));
|
||||||
bus_generic_attach(bus);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Some of these children may have attached others as part of their attach
|
|
||||||
* process (eg. the root PCI bus driver), so rescan.
|
|
||||||
*/
|
|
||||||
ACPI_DEBUG_PRINT((ACPI_DB_OBJECTS, "second bus_generic_attach\n"));
|
|
||||||
bus_generic_attach(bus);
|
bus_generic_attach(bus);
|
||||||
|
|
||||||
/* Attach wake sysctls. */
|
/* Attach wake sysctls. */
|
||||||
|
Loading…
Reference in New Issue
Block a user