svn commit: r212250 - stable/8/sys/dev/acpica

Andriy Gapon avg at FreeBSD.org
Mon Sep 6 07:24:44 UTC 2010


Author: avg
Date: Mon Sep  6 07:24:43 2010
New Revision: 212250
URL: http://svn.freebsd.org/changeset/base/212250

Log:
  MFC r212172: acpi: update stale comments about order of cpu devices
  probing

Modified:
  stable/8/sys/dev/acpica/acpi.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)

Modified: stable/8/sys/dev/acpica/acpi.c
==============================================================================
--- stable/8/sys/dev/acpica/acpi.c	Mon Sep  6 07:24:28 2010	(r212249)
+++ stable/8/sys/dev/acpica/acpi.c	Mon Sep  6 07:24:43 2010	(r212250)
@@ -1699,10 +1699,10 @@ acpi_probe_order(ACPI_HANDLE handle, int
     ACPI_OBJECT_TYPE type;
 
     /*
-     * 1. I/O port and memory system resource holders
-     * 2. Embedded controllers (to handle early accesses)
-     * 3. PCI Link Devices
-     * 100000. CPUs
+     * 1. CPUs
+     * 2. I/O port and memory system resource holders
+     * 3. Embedded controllers (to handle early accesses)
+     * 4. PCI Link Devices
      */
     AcpiGetType(handle, &type);
     if (type == ACPI_TYPE_PROCESSOR)
@@ -1762,8 +1762,7 @@ acpi_probe_child(ACPI_HANDLE handle, UIN
 	     * placeholder so that the probe/attach passes will run
 	     * breadth-first.  Orders less than ACPI_DEV_BASE_ORDER
 	     * are reserved for special objects (i.e., system
-	     * resources).  CPU devices have a very high order to
-	     * ensure they are probed after other devices.
+	     * resources).
 	     */
 	    ACPI_DEBUG_PRINT((ACPI_DB_OBJECTS, "scanning '%s'\n", handle_str));
 	    order = level * 10 + 100;


More information about the svn-src-all mailing list