[PATCH v1 3/8] dmaengine: introduce CONFIG_DMA_ENGINE_HOTPLUG for DMA device hotplug

From: Jiang Liu
Date: Mon Apr 23 2012 - 09:56:24 EST


Introduce CONFIG_DMA_ENGINE_HOTPLUG to enable/disable DMA device hotplug logic.

Signed-off-by: Jiang Liu <liuj97@xxxxxxxxx>
---
drivers/dma/Kconfig | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index cf9da36..aba92f0 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -62,6 +62,7 @@ config INTEL_IOATDMA
depends on PCI && X86
select DMA_ENGINE
select DCA
+ select DMA_ENGINE_HOTPLUG
select ASYNC_TX_DISABLE_PQ_VAL_DMA
select ASYNC_TX_DISABLE_XOR_VAL_DMA
help
@@ -263,6 +264,11 @@ config DMA_SA11X0
config DMA_ENGINE
bool

+config DMA_ENGINE_HOTPLUG
+ bool
+ default n
+ depends on DMA_ENGINE
+
comment "DMA Clients"
depends on DMA_ENGINE

--
1.7.5.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/