diff options
author | njl <njl@FreeBSD.org> | 2004-02-28 20:39:09 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2004-02-28 20:39:09 +0000 |
commit | bdf79178fcecf52d3d625d734187bd4219e5865b (patch) | |
tree | fb01bb0e1c080308c2cc3229c3de0ad7cc742891 /sys/contrib | |
parent | baa93e22aafa134b5ec581c5b3cc29eee3d4039b (diff) | |
download | FreeBSD-src-bdf79178fcecf52d3d625d734187bd4219e5865b.zip FreeBSD-src-bdf79178fcecf52d3d625d734187bd4219e5865b.tar.gz |
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.
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 5994d7b..07c9c84 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 &= |