Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Sep 2010 07:24:43 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r212250 - stable/8/sys/dev/acpica
Message-ID:  <201009060724.o867OhJ5021820@svn.freebsd.org>

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



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