dma-mapping: prevent dma dependent code from linking on !HAS_DMA archs
[linux-flexiantxendom0.git] / drivers / dma / Kconfig
1 #
2 # DMA engine configuration
3 #
4
5 menu "DMA Engine support"
6         depends on HAS_DMA
7
8 config DMA_ENGINE
9         bool "Support for DMA engines"
10         ---help---
11           DMA engines offload bulk memory operations from the CPU to dedicated
12           hardware, allowing the operations to happen asynchronously.
13
14 comment "DMA Clients"
15
16 config NET_DMA
17         bool "Network: TCP receive copy offload"
18         depends on DMA_ENGINE && NET
19         default y
20         ---help---
21           This enables the use of DMA engines in the network stack to
22           offload receive copy-to-user operations, freeing CPU cycles.
23           Since this is the main user of the DMA engine, it should be enabled;
24           say Y here.
25
26 comment "DMA Devices"
27
28 config INTEL_IOATDMA
29         tristate "Intel I/OAT DMA support"
30         depends on DMA_ENGINE && PCI
31         default m
32         ---help---
33           Enable support for the Intel(R) I/OAT DMA engine.
34
35 config INTEL_IOP_ADMA
36         tristate "Intel IOP ADMA support"
37         depends on DMA_ENGINE && (ARCH_IOP32X || ARCH_IOP33X || ARCH_IOP13XX)
38         select ASYNC_CORE
39         default m
40         ---help---
41           Enable support for the Intel(R) IOP Series RAID engines.
42
43 endmenu