diff options
author | Nate Lawson <njl@FreeBSD.org> | 2004-02-28 20:39:09 +0000 |
---|---|---|
committer | Nate Lawson <njl@FreeBSD.org> | 2004-02-28 20:39:09 +0000 |
commit | 56491b7ba0761c4d08b6ad8411e9f5bf9b04b067 (patch) | |
tree | fb01bb0e1c080308c2cc3229c3de0ad7cc742891 /sys/contrib | |
parent | 7420bf68bbf600ea9ba36d7cbc16777a09d83481 (diff) | |
download | src-56491b7ba0761c4d08b6ad8411e9f5bf9b04b067.tar.gz src-56491b7ba0761c4d08b6ad8411e9f5bf9b04b067.zip |
Local change: Allow access to the field if it is within the region
size rounded up to a multiple of the access byte width. This overcomes
"off-by-one" programming errors in the AML often found in Toshiba
laptops.
Notes
Notes:
svn path=/head/; revision=126377
Diffstat (limited to 'sys/contrib')
-rw-r--r-- | sys/contrib/dev/acpica/exfldio.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/contrib/dev/acpica/exfldio.c b/sys/contrib/dev/acpica/exfldio.c index 5994d7b34a12..07c9c84b6673 100644 --- a/sys/contrib/dev/acpica/exfldio.c +++ b/sys/contrib/dev/acpica/exfldio.c @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: exfldio - Aml Field I/O - * $Revision: 100 $ + * $Revision: 103 $ * *****************************************************************************/ @@ -9,7 +9,7 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999 - 2003, Intel Corp. + * Some or all of this work - Copyright (c) 1999 - 2004, Intel Corp. * All rights reserved. * * 2. License @@ -596,8 +596,8 @@ AcpiExFieldDatumIo ( default: - ACPI_DEBUG_PRINT ((ACPI_DB_ERROR, "%p, Wrong object type - %s\n", - ObjDesc, AcpiUtGetObjectTypeName (ObjDesc))); + ACPI_REPORT_ERROR (("Wrong object type in field I/O %X\n", + ACPI_GET_OBJECT_TYPE (ObjDesc))); Status = AE_AML_INTERNAL; break; } @@ -983,7 +983,7 @@ AcpiExExtractFromField ( { /* * This is the last iteration of the loop. We need to clear - * any unused bits (bits that are not part of this field) before + * any unused bits (bits that are not part of this field) before * we store the final merged datum into the caller buffer. */ ThisRawDatum &= |