Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Feb 2010 18:24:00 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r203785 - head/sys/dev/acpica
Message-ID:  <201002111824.o1BIO058052040@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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. */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002111824.o1BIO058052040>