summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2011-06-14 15:51:54 +0200
committerJoerg Roedel <joerg.roedel@amd.com>2011-06-21 10:49:30 +0200
commit68255b628776dfafa7f67ca3afd66bd4ba377307 (patch)
treef95ca74fd3249f18783f30a71a0a4c4114b496d3 /drivers
parent166e9278a3f98bab29ebb3d685a81cfb11b98be0 (diff)
downloadlinux-next-68255b628776dfafa7f67ca3afd66bd4ba377307.tar.gz
iommu: Move iommu Kconfig entries to submenu
For better navigation this patch moves the drivers/iommu drivers into its own submenu in Kconfig. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/iommu/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
index e2a5f141ae2d..b57b3fa492f3 100644
--- a/drivers/iommu/Kconfig
+++ b/drivers/iommu/Kconfig
@@ -2,6 +2,17 @@
config IOMMU_API
bool
+menuconfig IOMMU_SUPPORT
+ bool "IOMMU Hardware Support"
+ default y
+ ---help---
+ Say Y here if you want to compile device drivers for IO Memory
+ Management Units into the kernel. These devices usually allow to
+ remap DMA requests and/or remap interrupts from other devices on the
+ system.
+
+if IOMMU_SUPPORT
+
# MSM IOMMU support
config MSM_IOMMU
bool "MSM IOMMU Support"
@@ -95,3 +106,5 @@ config INTR_REMAP
Supports Interrupt remapping for IO-APIC and MSI devices.
To use x2apic mode in the CPU's which support x2APIC enhancements or
to support platforms with CPU's having > 8 bit APIC ID, say Y.
+
+endif # IOMMU_SUPPORT