Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 128024
b: refs/heads/master
c: e9a8c6a
h: refs/heads/master
v: v3
  • Loading branch information
Bob Moore authored and Len Brown committed Dec 30, 2008
1 parent 17ff34b commit 082618d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fc37445733aeae4fd1a20385850620354263b1d5
refs/heads/master: e9a8c6a90953b65326881189a1f3782bb2f6d250
11 changes: 7 additions & 4 deletions trunk/drivers/acpi/executer/exfldio.c
Original file line number Diff line number Diff line change
Expand Up @@ -498,21 +498,24 @@ acpi_ex_field_datum_io(union acpi_operand_object *obj_desc,
return_ACPI_STATUS(status);
}

ACPI_DEBUG_PRINT((ACPI_DB_BFIELD,
"I/O to Data Register: ValuePtr %p\n",
value));

if (read_write == ACPI_READ) {

/* Read the datum from the data_register */

ACPI_DEBUG_PRINT((ACPI_DB_BFIELD,
"Read from Data Register\n"));

status =
acpi_ex_extract_from_field(obj_desc->index_field.
data_obj, value,
sizeof(acpi_integer));
} else {
/* Write the datum to the data_register */

ACPI_DEBUG_PRINT((ACPI_DB_BFIELD,
"Write to Data Register: Value %8.8X%8.8X\n",
ACPI_FORMAT_UINT64(*value)));

status =
acpi_ex_insert_into_field(obj_desc->index_field.
data_obj, value,
Expand Down

0 comments on commit 082618d

Please sign in to comment.