dmaengine, async_tx: add a "no channel switch" allocator
[safe/jmp/linux-2.6] / drivers / dma / Kconfig
1 #
2 # DMA engine configuration
3 #
4
5 menuconfig DMADEVICES
6         bool "DMA Engine support"
7         depends on HAS_DMA
8         help
9           DMA engines can do asynchronous data transfers without
10           involving the host CPU.  Currently, this framework can be
11           used to offload memory copies in the network stack and
12           RAID operations in the MD driver.  This menu only presents
13           DMA Device drivers supported by the configured arch, it may
14           be empty in some cases.
15
16 if DMADEVICES
17
18 comment "DMA Devices"
19
20 config ASYNC_TX_DISABLE_CHANNEL_SWITCH
21         bool
22
23 config INTEL_IOATDMA
24         tristate "Intel I/OAT DMA support"
25         depends on PCI && X86
26         select DMA_ENGINE
27         select DCA
28         select ASYNC_TX_DISABLE_CHANNEL_SWITCH
29         help
30           Enable support for the Intel(R) I/OAT DMA engine present
31           in recent Intel Xeon chipsets.
32
33           Say Y here if you have such a chipset.
34
35           If unsure, say N.
36
37 config INTEL_IOP_ADMA
38         tristate "Intel IOP ADMA support"
39         depends on ARCH_IOP32X || ARCH_IOP33X || ARCH_IOP13XX
40         select DMA_ENGINE
41         help
42           Enable support for the Intel(R) IOP Series RAID engines.
43
44 config DW_DMAC
45         tristate "Synopsys DesignWare AHB DMA support"
46         depends on AVR32
47         select DMA_ENGINE
48         default y if CPU_AT32AP7000
49         help
50           Support the Synopsys DesignWare AHB DMA controller.  This
51           can be integrated in chips such as the Atmel AT32ap7000.
52
53 config FSL_DMA
54         tristate "Freescale Elo and Elo Plus DMA support"
55         depends on FSL_SOC
56         select DMA_ENGINE
57         ---help---
58           Enable support for the Freescale Elo and Elo Plus DMA controllers.
59           The Elo is the DMA controller on some 82xx and 83xx parts, and the
60           Elo Plus is the DMA controller on 85xx and 86xx parts.
61
62 config MV_XOR
63         bool "Marvell XOR engine support"
64         depends on PLAT_ORION
65         select DMA_ENGINE
66         ---help---
67           Enable support for the Marvell XOR engine.
68
69 config MX3_IPU
70         bool "MX3x Image Processing Unit support"
71         depends on ARCH_MX3
72         select DMA_ENGINE
73         default y
74         help
75           If you plan to use the Image Processing unit in the i.MX3x, say
76           Y here. If unsure, select Y.
77
78 config MX3_IPU_IRQS
79         int "Number of dynamically mapped interrupts for IPU"
80         depends on MX3_IPU
81         range 2 137
82         default 4
83         help
84           Out of 137 interrupt sources on i.MX31 IPU only very few are used.
85           To avoid bloating the irq_desc[] array we allocate a sufficient
86           number of IRQ slots and map them dynamically to specific sources.
87
88 config DMA_ENGINE
89         bool
90
91 comment "DMA Clients"
92         depends on DMA_ENGINE
93
94 config NET_DMA
95         bool "Network: TCP receive copy offload"
96         depends on DMA_ENGINE && NET
97         default (INTEL_IOATDMA || FSL_DMA)
98         help
99           This enables the use of DMA engines in the network stack to
100           offload receive copy-to-user operations, freeing CPU cycles.
101
102           Say Y here if you enabled INTEL_IOATDMA or FSL_DMA, otherwise
103           say N.
104
105 config ASYNC_TX_DMA
106         bool "Async_tx: Offload support for the async_tx api"
107         depends on DMA_ENGINE
108         help
109           This allows the async_tx api to take advantage of offload engines for
110           memcpy, memset, xor, and raid6 p+q operations.  If your platform has
111           a dma engine that can perform raid operations and you have enabled
112           MD_RAID456 say Y.
113
114           If unsure, say N.
115
116 config DMATEST
117         tristate "DMA Test client"
118         depends on DMA_ENGINE
119         help
120           Simple DMA test client. Say N unless you're debugging a
121           DMA Device driver.
122
123 endif