svn commit: r203785 - head/sys/dev/acpica

Andriy Gapon avg at FreeBSD.org
Thu Feb 11 18:24:01 UTC 2010


Author: avg
Date: Thu Feb 11 18:24:00 2010
New Revision: 203785
URL: http://svn.freebsd.org/changeset/base/203785

Log:
  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

Modified:
  head/sys/dev/acpica/acpi.c

Modified: head/sys/dev/acpica/acpi.c
==============================================================================
--- head/sys/dev/acpica/acpi.c	Thu Feb 11 18:14:53 2010	(r203784)
+++ head/sys/dev/acpica/acpi.c	Thu Feb 11 18:24:00 2010	(r203785)
@@ -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. */


More information about the svn-src-all mailing list