diff options
author | Bob Moore <robert.moore@intel.com> | 2008-11-12 02:16:49 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-12-29 22:38:36 -0500 |
commit | e9a8c6a90953b65326881189a1f3782bb2f6d250 (patch) | |
tree | 16f97e8cec4039d63379849e7d209d697c9874a7 /drivers/acpi | |
parent | fc37445733aeae4fd1a20385850620354263b1d5 (diff) |
ACPICA: Update debug output for IndexField I/O
Split the "data register I/O" with more informative read and
write messages.
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>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/executer/exfldio.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/drivers/acpi/executer/exfldio.c b/drivers/acpi/executer/exfldio.c index 9ff9d1f4615d..94500c4ef8bf 100644 --- a/drivers/acpi/executer/exfldio.c +++ b/drivers/acpi/executer/exfldio.c | |||
@@ -498,14 +498,13 @@ acpi_ex_field_datum_io(union acpi_operand_object *obj_desc, | |||
498 | return_ACPI_STATUS(status); | 498 | return_ACPI_STATUS(status); |
499 | } | 499 | } |
500 | 500 | ||
501 | ACPI_DEBUG_PRINT((ACPI_DB_BFIELD, | ||
502 | "I/O to Data Register: ValuePtr %p\n", | ||
503 | value)); | ||
504 | |||
505 | if (read_write == ACPI_READ) { | 501 | if (read_write == ACPI_READ) { |
506 | 502 | ||
507 | /* Read the datum from the data_register */ | 503 | /* Read the datum from the data_register */ |
508 | 504 | ||
505 | ACPI_DEBUG_PRINT((ACPI_DB_BFIELD, | ||
506 | "Read from Data Register\n")); | ||
507 | |||
509 | status = | 508 | status = |
510 | acpi_ex_extract_from_field(obj_desc->index_field. | 509 | acpi_ex_extract_from_field(obj_desc->index_field. |
511 | data_obj, value, | 510 | data_obj, value, |
@@ -513,6 +512,10 @@ acpi_ex_field_datum_io(union acpi_operand_object *obj_desc, | |||
513 | } else { | 512 | } else { |
514 | /* Write the datum to the data_register */ | 513 | /* Write the datum to the data_register */ |
515 | 514 | ||
515 | ACPI_DEBUG_PRINT((ACPI_DB_BFIELD, | ||
516 | "Write to Data Register: Value %8.8X%8.8X\n", | ||
517 | ACPI_FORMAT_UINT64(*value))); | ||
518 | |||
516 | status = | 519 | status = |
517 | acpi_ex_insert_into_field(obj_desc->index_field. | 520 | acpi_ex_insert_into_field(obj_desc->index_field. |
518 | data_obj, value, | 521 | data_obj, value, |