diff options
author | Lin Ming <ming.m.lin@intel.com> | 2011-11-16 01:38:13 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2012-01-17 03:36:30 -0500 |
commit | e0fe0a8d4ed5474261d0ee1452f5d9ae77236958 (patch) | |
tree | cec332ccaab7fa0dd03cbc87ea1212f7182c2309 /drivers/acpi/acpica/rsutils.c | |
parent | 2da120b6847f85c406f9afa13853e2755684389e (diff) |
ACPI 5.0: Support for all new resource descriptors
FixedDMA, GPIO descriptors, SerialBus descriptors
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/rsutils.c')
-rw-r--r-- | drivers/acpi/acpica/rsutils.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/rsutils.c b/drivers/acpi/acpica/rsutils.c index 231811e56939..4409db8209d7 100644 --- a/drivers/acpi/acpica/rsutils.c +++ b/drivers/acpi/acpica/rsutils.c | |||
@@ -144,6 +144,9 @@ acpi_rs_move_data(void *destination, void *source, u16 item_count, u8 move_type) | |||
144 | * since there are no alignment or endian issues | 144 | * since there are no alignment or endian issues |
145 | */ | 145 | */ |
146 | case ACPI_RSC_MOVE8: | 146 | case ACPI_RSC_MOVE8: |
147 | case ACPI_RSC_MOVE_GPIO_RES: | ||
148 | case ACPI_RSC_MOVE_SERIAL_VEN: | ||
149 | case ACPI_RSC_MOVE_SERIAL_RES: | ||
147 | ACPI_MEMCPY(destination, source, item_count); | 150 | ACPI_MEMCPY(destination, source, item_count); |
148 | return; | 151 | return; |
149 | 152 | ||
@@ -153,6 +156,7 @@ acpi_rs_move_data(void *destination, void *source, u16 item_count, u8 move_type) | |||
153 | * misaligned memory transfers | 156 | * misaligned memory transfers |
154 | */ | 157 | */ |
155 | case ACPI_RSC_MOVE16: | 158 | case ACPI_RSC_MOVE16: |
159 | case ACPI_RSC_MOVE_GPIO_PIN: | ||
156 | ACPI_MOVE_16_TO_16(&ACPI_CAST_PTR(u16, destination)[i], | 160 | ACPI_MOVE_16_TO_16(&ACPI_CAST_PTR(u16, destination)[i], |
157 | &ACPI_CAST_PTR(u16, source)[i]); | 161 | &ACPI_CAST_PTR(u16, source)[i]); |
158 | break; | 162 | break; |