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

Andriy Gapon avg at FreeBSD.org
Fri Sep 3 08:07:05 UTC 2010


Author: avg
Date: Fri Sep  3 08:07:04 2010
New Revision: 212172
URL: http://svn.freebsd.org/changeset/base/212172

Log:
  acpi: update stale comments about order of cpu devices probing
  
  These comments should have been updated in r203776 when the order was
  changed.
  
  Pointyhat to:	avg
  MFC after:	3 days

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

Modified: head/sys/dev/acpica/acpi.c
==============================================================================
--- head/sys/dev/acpica/acpi.c	Fri Sep  3 06:30:11 2010	(r212171)
+++ head/sys/dev/acpica/acpi.c	Fri Sep  3 08:07:04 2010	(r212172)
@@ -1690,10 +1690,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)
@@ -1753,8 +1753,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-head mailing list