]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
ACPICA: Add comment: _BCL cannot be sorted on the fly
authorBob Moore <robert.moore@intel.com>
Wed, 26 May 2010 03:03:56 +0000 (11:03 +0800)
committerLen Brown <len.brown@intel.com>
Wed, 7 Jul 2010 02:33:54 +0000 (22:33 -0400)
Because of package index values used for _BQC and _BCM.

Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/acpica/nsrepair2.c

index 61bd0f6755d222ac32dc6703e3f4c9dd8a66a372..4009498fbabd038520fdb47756cd263386f0b980 100644 (file)
@@ -112,6 +112,13 @@ acpi_ns_sort_list(union acpi_operand_object **elements,
  * _GTM: Convert Buffer of BYTEs to a Buffer of DWORDs
  * _PSS: Sort the list descending by Power
  * _TSS: Sort the list descending by Power
+ *
+ * Names that must be packages, but cannot be sorted:
+ *
+ * _BCL: Values are tied to the Package index where they appear, and cannot
+ * be moved or sorted. These index values are used for _BQC and _BCM.
+ * However, we can fix the case where a buffer is returned, by converting
+ * it to a Package of integers.
  */
 static const struct acpi_repair_info acpi_ns_repairable_names[] = {
        {"_ALR", acpi_ns_repair_ALR},