aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/dev/acpica/rsdump.c
diff options
context:
space:
mode:
authorNate Lawson <njl@FreeBSD.org>2003-04-29 18:39:29 +0000
committerNate Lawson <njl@FreeBSD.org>2003-04-29 18:39:29 +0000
commit17b7010ddc68fd57ab17473f95cd0f7c0be4f31d (patch)
tree4f870813153015b497486f4e5b8eaf0bb08c4bad /sys/contrib/dev/acpica/rsdump.c
parent716b1ee2b9d274c7ba5a0e0ae2085d021428c1b6 (diff)
downloadsrc-17b7010ddc68fd57ab17473f95cd0f7c0be4f31d.tar.gz
src-17b7010ddc68fd57ab17473f95cd0f7c0be4f31d.zip
Import of Intel ACPI 20030228 vendor distribution
Notes
Notes: svn path=/vendor-sys/acpica/dist/; revision=114237
Diffstat (limited to 'sys/contrib/dev/acpica/rsdump.c')
-rw-r--r--sys/contrib/dev/acpica/rsdump.c91
1 files changed, 53 insertions, 38 deletions
diff --git a/sys/contrib/dev/acpica/rsdump.c b/sys/contrib/dev/acpica/rsdump.c
index 38f52fc95827..23b9e4920ef2 100644
--- a/sys/contrib/dev/acpica/rsdump.c
+++ b/sys/contrib/dev/acpica/rsdump.c
@@ -1,7 +1,7 @@
/*******************************************************************************
*
* Module Name: rsdump - Functions to display the resource structures.
- * $Revision: 34 $
+ * $Revision: 36 $
*
******************************************************************************/
@@ -9,7 +9,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2002, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2003, Intel Corp.
* All rights reserved.
*
* 2. License
@@ -655,6 +655,11 @@ AcpiRsDumpAddress16 (
"Invalid range attribute\n");
break;
}
+
+ AcpiOsPrintf (" Type Specific: %s Translation\n",
+ ACPI_SPARSE_TRANSLATION ==
+ Address16Data->Attribute.Io.TranslationAttribute ?
+ "Sparse" : "Dense");
break;
case ACPI_BUS_NUMBER_RANGE:
@@ -780,27 +785,32 @@ AcpiRsDumpAddress32 (
AcpiOsPrintf (" Resource Type: Io Range\n");
switch (Address32Data->Attribute.Io.RangeAttribute)
- {
- case ACPI_NON_ISA_ONLY_RANGES:
- AcpiOsPrintf (" Type Specific: "
- "Non-ISA Io Addresses\n");
- break;
+ {
+ case ACPI_NON_ISA_ONLY_RANGES:
+ AcpiOsPrintf (" Type Specific: "
+ "Non-ISA Io Addresses\n");
+ break;
- case ACPI_ISA_ONLY_RANGES:
- AcpiOsPrintf (" Type Specific: "
- "ISA Io Addresses\n");
- break;
+ case ACPI_ISA_ONLY_RANGES:
+ AcpiOsPrintf (" Type Specific: "
+ "ISA Io Addresses\n");
+ break;
- case ACPI_ENTIRE_RANGE:
- AcpiOsPrintf (" Type Specific: "
- "ISA and non-ISA Io Addresses\n");
- break;
+ case ACPI_ENTIRE_RANGE:
+ AcpiOsPrintf (" Type Specific: "
+ "ISA and non-ISA Io Addresses\n");
+ break;
- default:
- AcpiOsPrintf (" Type Specific: "
- "Invalid Range attribute");
- break;
- }
+ default:
+ AcpiOsPrintf (" Type Specific: "
+ "Invalid Range attribute");
+ break;
+ }
+
+ AcpiOsPrintf (" Type Specific: %s Translation\n",
+ ACPI_SPARSE_TRANSLATION ==
+ Address32Data->Attribute.Io.TranslationAttribute ?
+ "Sparse" : "Dense");
break;
case ACPI_BUS_NUMBER_RANGE:
@@ -926,27 +936,32 @@ AcpiRsDumpAddress64 (
AcpiOsPrintf (" Resource Type: Io Range\n");
switch (Address64Data->Attribute.Io.RangeAttribute)
- {
- case ACPI_NON_ISA_ONLY_RANGES:
- AcpiOsPrintf (" Type Specific: "
- "Non-ISA Io Addresses\n");
- break;
+ {
+ case ACPI_NON_ISA_ONLY_RANGES:
+ AcpiOsPrintf (" Type Specific: "
+ "Non-ISA Io Addresses\n");
+ break;
- case ACPI_ISA_ONLY_RANGES:
- AcpiOsPrintf (" Type Specific: "
- "ISA Io Addresses\n");
- break;
+ case ACPI_ISA_ONLY_RANGES:
+ AcpiOsPrintf (" Type Specific: "
+ "ISA Io Addresses\n");
+ break;
- case ACPI_ENTIRE_RANGE:
- AcpiOsPrintf (" Type Specific: "
- "ISA and non-ISA Io Addresses\n");
- break;
+ case ACPI_ENTIRE_RANGE:
+ AcpiOsPrintf (" Type Specific: "
+ "ISA and non-ISA Io Addresses\n");
+ break;
- default:
- AcpiOsPrintf (" Type Specific: "
- "Invalid Range attribute");
- break;
- }
+ default:
+ AcpiOsPrintf (" Type Specific: "
+ "Invalid Range attribute");
+ break;
+ }
+
+ AcpiOsPrintf (" Type Specific: %s Translation\n",
+ ACPI_SPARSE_TRANSLATION ==
+ Address64Data->Attribute.Io.TranslationAttribute ?
+ "Sparse" : "Dense");
break;
case ACPI_BUS_NUMBER_RANGE: