diff options
author | avg <avg@FreeBSD.org> | 2010-02-11 18:24:00 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2010-02-11 18:24:00 +0000 |
commit | 897d6e1c7275a320128cc0abb749933e8e647fce (patch) | |
tree | ff1959fffb5ee3eda5565f5ba609412a5861cdf2 | |
parent | e7471d443b091cf5e322304087b36a70bf7c0dd4 (diff) | |
download | FreeBSD-src-897d6e1c7275a320128cc0abb749933e8e647fce.zip FreeBSD-src-897d6e1c7275a320128cc0abb749933e8e647fce.tar.gz |
acpi: drop the second bus_generic_attach pass
It is belived that that pass s not needed anymore.
Specifically it is not required now for the reasons that were given
in the removed comment.
Discussed with: jhb
MFC after: 4 weeks
-rw-r--r-- | sys/dev/acpica/acpi.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c index 0f705db..69f0739 100644 --- a/sys/dev/acpica/acpi.c +++ b/sys/dev/acpica/acpi.c @@ -1653,14 +1653,7 @@ acpi_probe_children(device_t bus) bus_generic_probe(bus); /* Probe/attach all children, created staticly and from the namespace. */ - ACPI_DEBUG_PRINT((ACPI_DB_OBJECTS, "first 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")); + ACPI_DEBUG_PRINT((ACPI_DB_OBJECTS, "acpi bus_generic_attach\n")); bus_generic_attach(bus); /* Attach wake sysctls. */ |