aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/acpica/acpi.c
diff options
context:
space:
mode:
authorAndriy Gapon <avg@FreeBSD.org>2010-09-03 08:07:04 +0000
committerAndriy Gapon <avg@FreeBSD.org>2010-09-03 08:07:04 +0000
commitb1f9b9965bd0cc2f4ab1ac38bef46db398e83a59 (patch)
tree238188dfdd1e10b81173aeece88f4652f0bf7fdf /sys/dev/acpica/acpi.c
parentd8acfb88ad77c17a3e6e91bd462a3dbc66ebab0e (diff)
downloadsrc-b1f9b9965bd0cc2f4ab1ac38bef46db398e83a59.tar.gz
src-b1f9b9965bd0cc2f4ab1ac38bef46db398e83a59.zip
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
Notes
Notes: svn path=/head/; revision=212172
Diffstat (limited to 'sys/dev/acpica/acpi.c')
-rw-r--r--sys/dev/acpica/acpi.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c
index feef2cc3fdd4..7c941f36561d 100644
--- a/sys/dev/acpica/acpi.c
+++ b/sys/dev/acpica/acpi.c
@@ -1690,10 +1690,10 @@ acpi_probe_order(ACPI_HANDLE handle, int *order)
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, UINT32 level, void *context, void **status)
* 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;