diff options
Diffstat (limited to 'include/acpi/amlresrc.h')
-rw-r--r-- | include/acpi/amlresrc.h | 61 |
1 files changed, 31 insertions, 30 deletions
diff --git a/include/acpi/amlresrc.h b/include/acpi/amlresrc.h index fb4735315ad3..e5b42eb38190 100644 --- a/include/acpi/amlresrc.h +++ b/include/acpi/amlresrc.h | |||
@@ -45,36 +45,36 @@ | |||
45 | #ifndef __AMLRESRC_H | 45 | #ifndef __AMLRESRC_H |
46 | #define __AMLRESRC_H | 46 | #define __AMLRESRC_H |
47 | 47 | ||
48 | #define ASL_RESNAME_ADDRESS "_ADR" | 48 | #define ACPI_RESTAG_ADDRESS "_ADR" |
49 | #define ASL_RESNAME_ALIGNMENT "_ALN" | 49 | #define ACPI_RESTAG_ALIGNMENT "_ALN" |
50 | #define ASL_RESNAME_ADDRESSSPACE "_ASI" | 50 | #define ACPI_RESTAG_ADDRESSSPACE "_ASI" |
51 | #define ASL_RESNAME_ACCESSSIZE "_ASZ" | 51 | #define ACPI_RESTAG_ACCESSSIZE "_ASZ" |
52 | #define ASL_RESNAME_TYPESPECIFICATTRIBUTES "_ATT" | 52 | #define ACPI_RESTAG_TYPESPECIFICATTRIBUTES "_ATT" |
53 | #define ASL_RESNAME_BASEADDRESS "_BAS" | 53 | #define ACPI_RESTAG_BASEADDRESS "_BAS" |
54 | #define ASL_RESNAME_BUSMASTER "_BM_" /* Master(1), Slave(0) */ | 54 | #define ACPI_RESTAG_BUSMASTER "_BM_" /* Master(1), Slave(0) */ |
55 | #define ASL_RESNAME_DECODE "_DEC" | 55 | #define ACPI_RESTAG_DECODE "_DEC" |
56 | #define ASL_RESNAME_DMA "_DMA" | 56 | #define ACPI_RESTAG_DMA "_DMA" |
57 | #define ASL_RESNAME_DMATYPE "_TYP" /* Compatible(0), A(1), B(2), F(3) */ | 57 | #define ACPI_RESTAG_DMATYPE "_TYP" /* Compatible(0), A(1), B(2), F(3) */ |
58 | #define ASL_RESNAME_GRANULARITY "_GRA" | 58 | #define ACPI_RESTAG_GRANULARITY "_GRA" |
59 | #define ASL_RESNAME_INTERRUPT "_INT" | 59 | #define ACPI_RESTAG_INTERRUPT "_INT" |
60 | #define ASL_RESNAME_INTERRUPTLEVEL "_LL_" /* active_lo(1), active_hi(0) */ | 60 | #define ACPI_RESTAG_INTERRUPTLEVEL "_LL_" /* active_lo(1), active_hi(0) */ |
61 | #define ASL_RESNAME_INTERRUPTSHARE "_SHR" /* Shareable(1), no_share(0) */ | 61 | #define ACPI_RESTAG_INTERRUPTSHARE "_SHR" /* Shareable(1), no_share(0) */ |
62 | #define ASL_RESNAME_INTERRUPTTYPE "_HE_" /* Edge(1), Level(0) */ | 62 | #define ACPI_RESTAG_INTERRUPTTYPE "_HE_" /* Edge(1), Level(0) */ |
63 | #define ASL_RESNAME_LENGTH "_LEN" | 63 | #define ACPI_RESTAG_LENGTH "_LEN" |
64 | #define ASL_RESNAME_MEMATTRIBUTES "_MTP" /* Memory(0), Reserved(1), ACPI(2), NVS(3) */ | 64 | #define ACPI_RESTAG_MEMATTRIBUTES "_MTP" /* Memory(0), Reserved(1), ACPI(2), NVS(3) */ |
65 | #define ASL_RESNAME_MEMTYPE "_MEM" /* non_cache(0), Cacheable(1) Cache+combine(2), Cache+prefetch(3) */ | 65 | #define ACPI_RESTAG_MEMTYPE "_MEM" /* non_cache(0), Cacheable(1) Cache+combine(2), Cache+prefetch(3) */ |
66 | #define ASL_RESNAME_MAXADDR "_MAX" | 66 | #define ACPI_RESTAG_MAXADDR "_MAX" |
67 | #define ASL_RESNAME_MINADDR "_MIN" | 67 | #define ACPI_RESTAG_MINADDR "_MIN" |
68 | #define ASL_RESNAME_MAXTYPE "_MAF" | 68 | #define ACPI_RESTAG_MAXTYPE "_MAF" |
69 | #define ASL_RESNAME_MINTYPE "_MIF" | 69 | #define ACPI_RESTAG_MINTYPE "_MIF" |
70 | #define ASL_RESNAME_REGISTERBITOFFSET "_RBO" | 70 | #define ACPI_RESTAG_REGISTERBITOFFSET "_RBO" |
71 | #define ASL_RESNAME_REGISTERBITWIDTH "_RBW" | 71 | #define ACPI_RESTAG_REGISTERBITWIDTH "_RBW" |
72 | #define ASL_RESNAME_RANGETYPE "_RNG" | 72 | #define ACPI_RESTAG_RANGETYPE "_RNG" |
73 | #define ASL_RESNAME_READWRITETYPE "_RW_" /* read_only(0), Writeable (1) */ | 73 | #define ACPI_RESTAG_READWRITETYPE "_RW_" /* read_only(0), Writeable (1) */ |
74 | #define ASL_RESNAME_TRANSLATION "_TRA" | 74 | #define ACPI_RESTAG_TRANSLATION "_TRA" |
75 | #define ASL_RESNAME_TRANSTYPE "_TRS" /* Sparse(1), Dense(0) */ | 75 | #define ACPI_RESTAG_TRANSTYPE "_TRS" /* Sparse(1), Dense(0) */ |
76 | #define ASL_RESNAME_TYPE "_TTP" /* Translation(1), Static (0) */ | 76 | #define ACPI_RESTAG_TYPE "_TTP" /* Translation(1), Static (0) */ |
77 | #define ASL_RESNAME_XFERTYPE "_SIz" /* 8(0), 8_and16(1), 16(2) */ | 77 | #define ACPI_RESTAG_XFERTYPE "_SIz" /* 8(0), 8_and16(1), 16(2) */ |
78 | 78 | ||
79 | /* Default sizes for "small" resource descriptors */ | 79 | /* Default sizes for "small" resource descriptors */ |
80 | 80 | ||
@@ -266,6 +266,7 @@ struct aml_resource_generic_register { | |||
266 | union aml_resource { | 266 | union aml_resource { |
267 | /* Descriptor headers */ | 267 | /* Descriptor headers */ |
268 | 268 | ||
269 | u8 descriptor_type; | ||
269 | struct aml_resource_small_header small_header; | 270 | struct aml_resource_small_header small_header; |
270 | struct aml_resource_large_header large_header; | 271 | struct aml_resource_large_header large_header; |
271 | 272 | ||