summaryrefslogtreecommitdiff
path: root/drivers/acpi/scan.c
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2013-01-17 09:59:33 +0000
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-01-19 22:16:21 +0100
commit13176bbf183c82281a0e65519780ffebff5abc9d (patch)
tree9406c3742a87dc9faf940a53c3937f48f126609c /drivers/acpi/scan.c
parenta090b22f3fafa9340f903834de87552b50c5f2ba (diff)
downloadlinux-13176bbf183c82281a0e65519780ffebff5abc9d.tar.gz
ACPI: add support for CSRT table
Core System Resources Table (CSRT) is a proprietary ACPI table that contains resources for certain devices that are not found in the DSDT table. Typically a shared DMA controller might be found here. This patch adds support for this table. We go through all entries in the table and make platform devices of them. The resources from the table are passed with the platform device. There is one special resource in the table and it is the DMA request line base and number of request lines. This information might be needed by the DMA controller driver as it needs to map the ACPI DMA request line number to the actual request line understood by the hardware. This range is passed as IORESOURCE_DMA resource. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/scan.c')
-rw-r--r--drivers/acpi/scan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c
index 7d164a966b0d..a85b4080c3ca 100644
--- a/drivers/acpi/scan.c
+++ b/drivers/acpi/scan.c
@@ -1699,6 +1699,7 @@ int __init acpi_scan_init(void)
acpi_power_init();
acpi_pci_root_init();
+ acpi_csrt_init();
/*
* Enumerate devices in the ACPI namespace.