diff options
Diffstat (limited to 'drivers/acpi/acpica/rsirq.c')
-rw-r--r-- | drivers/acpi/acpica/rsirq.c | 33 |
1 files changed, 32 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/rsirq.c b/drivers/acpi/acpica/rsirq.c index 50b8ad211167..e23a9ec248cb 100644 --- a/drivers/acpi/acpica/rsirq.c +++ b/drivers/acpi/acpica/rsirq.c | |||
@@ -5,7 +5,7 @@ | |||
5 | ******************************************************************************/ | 5 | ******************************************************************************/ |
6 | 6 | ||
7 | /* | 7 | /* |
8 | * Copyright (C) 2000 - 2011, Intel Corp. | 8 | * Copyright (C) 2000 - 2012, Intel Corp. |
9 | * All rights reserved. | 9 | * All rights reserved. |
10 | * | 10 | * |
11 | * Redistribution and use in source and binary forms, with or without | 11 | * Redistribution and use in source and binary forms, with or without |
@@ -264,3 +264,34 @@ struct acpi_rsconvert_info acpi_rs_convert_dma[6] = { | |||
264 | AML_OFFSET(dma.dma_channel_mask), | 264 | AML_OFFSET(dma.dma_channel_mask), |
265 | ACPI_RS_OFFSET(data.dma.channel_count)} | 265 | ACPI_RS_OFFSET(data.dma.channel_count)} |
266 | }; | 266 | }; |
267 | |||
268 | /******************************************************************************* | ||
269 | * | ||
270 | * acpi_rs_convert_fixed_dma | ||
271 | * | ||
272 | ******************************************************************************/ | ||
273 | |||
274 | struct acpi_rsconvert_info acpi_rs_convert_fixed_dma[4] = { | ||
275 | {ACPI_RSC_INITGET, ACPI_RESOURCE_TYPE_FIXED_DMA, | ||
276 | ACPI_RS_SIZE(struct acpi_resource_fixed_dma), | ||
277 | ACPI_RSC_TABLE_SIZE(acpi_rs_convert_fixed_dma)}, | ||
278 | |||
279 | {ACPI_RSC_INITSET, ACPI_RESOURCE_NAME_FIXED_DMA, | ||
280 | sizeof(struct aml_resource_fixed_dma), | ||
281 | 0}, | ||
282 | |||
283 | /* | ||
284 | * These fields are contiguous in both the source and destination: | ||
285 | * request_lines | ||
286 | * Channels | ||
287 | */ | ||
288 | |||
289 | {ACPI_RSC_MOVE16, ACPI_RS_OFFSET(data.fixed_dma.request_lines), | ||
290 | AML_OFFSET(fixed_dma.request_lines), | ||
291 | 2}, | ||
292 | |||
293 | {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.fixed_dma.width), | ||
294 | AML_OFFSET(fixed_dma.width), | ||
295 | 1}, | ||
296 | |||
297 | }; | ||