blob: fe93d70f2e377467cd12147ed71f8c55685ba28f [file] [log] [blame]
Chris Leechc13c8262006-05-23 17:18:44 -07001#
2# DMA engine configuration
3#
4
Shannon Nelson2ed6dc32007-10-16 01:27:42 -07005menuconfig DMADEVICES
Haavard Skinnemoen6d4f5872007-11-28 16:21:43 -08006 bool "DMA Engine support"
Dan Williams04ce9ab2009-06-03 14:22:28 -07007 depends on HAS_DMA
Shannon Nelson2ed6dc32007-10-16 01:27:42 -07008 help
Haavard Skinnemoen6d4f5872007-11-28 16:21:43 -08009 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
Dan Williams9c402f42008-06-27 01:21:11 -070012 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.
Chris Leechc13c8262006-05-23 17:18:44 -070015
Shannon Nelson2ed6dc32007-10-16 01:27:42 -070016if DMADEVICES
Chris Leechdb217332006-06-17 21:24:58 -070017
Chris Leech0bbd5f42006-05-23 17:35:34 -070018comment "DMA Devices"
19
Dan Williams138f4c32009-09-08 17:42:51 -070020config ASYNC_TX_DISABLE_CHANNEL_SWITCH
21 bool
22
Chris Leech0bbd5f42006-05-23 17:35:34 -070023config INTEL_IOATDMA
24 tristate "Intel I/OAT DMA support"
Shannon Nelson2ed6dc32007-10-16 01:27:42 -070025 depends on PCI && X86
26 select DMA_ENGINE
27 select DCA
Dan Williams138f4c32009-09-08 17:42:51 -070028 select ASYNC_TX_DISABLE_CHANNEL_SWITCH
Shannon Nelson2ed6dc32007-10-16 01:27:42 -070029 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.
Dan Williamsc2110922007-01-02 13:52:26 -070036
37config INTEL_IOP_ADMA
Shannon Nelson2ed6dc32007-10-16 01:27:42 -070038 tristate "Intel IOP ADMA support"
39 depends on ARCH_IOP32X || ARCH_IOP33X || ARCH_IOP13XX
Shannon Nelson2ed6dc32007-10-16 01:27:42 -070040 select DMA_ENGINE
41 help
42 Enable support for the Intel(R) IOP Series RAID engines.
Dan Williamsc2110922007-01-02 13:52:26 -070043
Haavard Skinnemoen3bfb1d22008-07-08 11:59:42 -070044config 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
Nicolas Ferredc78baa2009-07-03 19:24:33 +020053config AT_HDMAC
54 tristate "Atmel AHB DMA support"
55 depends on ARCH_AT91SAM9RL
56 select DMA_ENGINE
57 help
58 Support the Atmel AHB DMA controller. This can be integrated in
59 chips such as the Atmel AT91SAM9RL.
60
Zhang Wei173acc72008-03-01 07:42:48 -070061config FSL_DMA
Timur Tabi77cd62e2008-09-26 17:00:11 -070062 tristate "Freescale Elo and Elo Plus DMA support"
63 depends on FSL_SOC
Zhang Wei173acc72008-03-01 07:42:48 -070064 select DMA_ENGINE
65 ---help---
Timur Tabi77cd62e2008-09-26 17:00:11 -070066 Enable support for the Freescale Elo and Elo Plus DMA controllers.
67 The Elo is the DMA controller on some 82xx and 83xx parts, and the
68 Elo Plus is the DMA controller on 85xx and 86xx parts.
Zhang Wei173acc72008-03-01 07:42:48 -070069
Saeed Bisharaff7b0472008-07-08 11:58:36 -070070config MV_XOR
71 bool "Marvell XOR engine support"
72 depends on PLAT_ORION
Saeed Bisharaff7b0472008-07-08 11:58:36 -070073 select DMA_ENGINE
74 ---help---
75 Enable support for the Marvell XOR engine.
76
Guennadi Liakhovetski5296b562009-01-19 15:36:21 -070077config MX3_IPU
78 bool "MX3x Image Processing Unit support"
79 depends on ARCH_MX3
80 select DMA_ENGINE
81 default y
82 help
83 If you plan to use the Image Processing unit in the i.MX3x, say
84 Y here. If unsure, select Y.
85
86config MX3_IPU_IRQS
87 int "Number of dynamically mapped interrupts for IPU"
88 depends on MX3_IPU
89 range 2 137
90 default 4
91 help
92 Out of 137 interrupt sources on i.MX31 IPU only very few are used.
93 To avoid bloating the irq_desc[] array we allocate a sufficient
94 number of IRQ slots and map them dynamically to specific sources.
95
Atsushi Nemotoea76f0b2009-04-23 00:40:30 +090096config TXX9_DMAC
97 tristate "Toshiba TXx9 SoC DMA support"
98 depends on MACH_TX49XX || MACH_TX39XX
99 select DMA_ENGINE
100 help
101 Support the TXx9 SoC internal DMA controller. This can be
102 integrated in chips such as the Toshiba TX4927/38/39.
103
Nobuhiro Iwamatsud8902ad2009-09-07 03:26:23 +0000104config SH_DMAE
105 tristate "Renesas SuperH DMAC support"
106 depends on SUPERH && SH_DMA
107 depends on !SH_DMA_API
108 select DMA_ENGINE
109 help
110 Enable support for the Renesas SuperH DMA controllers.
111
Linus Walleij61f135b2009-11-19 19:49:17 +0100112config COH901318
113 bool "ST-Ericsson COH901318 DMA support"
114 select DMA_ENGINE
115 depends on ARCH_U300
116 help
117 Enable support for ST-Ericsson COH 901 318 DMA.
118
Anatolij Gustschin12458ea2009-12-11 21:24:44 -0700119config AMCC_PPC440SPE_ADMA
120 tristate "AMCC PPC440SPe ADMA support"
121 depends on 440SPe || 440SP
122 select DMA_ENGINE
123 select ARCH_HAS_ASYNC_TX_FIND_CHANNEL
124 help
125 Enable support for the AMCC PPC440SPe RAID engines.
126
127config ARCH_HAS_ASYNC_TX_FIND_CHANNEL
128 bool
129
Shannon Nelson2ed6dc32007-10-16 01:27:42 -0700130config DMA_ENGINE
131 bool
132
133comment "DMA Clients"
134 depends on DMA_ENGINE
135
136config NET_DMA
137 bool "Network: TCP receive copy offload"
138 depends on DMA_ENGINE && NET
Dan Williams9c402f42008-06-27 01:21:11 -0700139 default (INTEL_IOATDMA || FSL_DMA)
Shannon Nelson2ed6dc32007-10-16 01:27:42 -0700140 help
141 This enables the use of DMA engines in the network stack to
142 offload receive copy-to-user operations, freeing CPU cycles.
Dan Williams9c402f42008-06-27 01:21:11 -0700143
144 Say Y here if you enabled INTEL_IOATDMA or FSL_DMA, otherwise
145 say N.
Shannon Nelson2ed6dc32007-10-16 01:27:42 -0700146
Dan Williams729b5d12009-03-25 09:13:25 -0700147config ASYNC_TX_DMA
148 bool "Async_tx: Offload support for the async_tx api"
Dan Williams9a8de632009-09-08 15:06:10 -0700149 depends on DMA_ENGINE
Dan Williams729b5d12009-03-25 09:13:25 -0700150 help
151 This allows the async_tx api to take advantage of offload engines for
152 memcpy, memset, xor, and raid6 p+q operations. If your platform has
153 a dma engine that can perform raid operations and you have enabled
154 MD_RAID456 say Y.
155
156 If unsure, say N.
157
Haavard Skinnemoen4a776f02008-07-08 11:58:45 -0700158config DMATEST
159 tristate "DMA Test client"
160 depends on DMA_ENGINE
161 help
162 Simple DMA test client. Say N unless you're debugging a
163 DMA Device driver.
164
Shannon Nelson2ed6dc32007-10-16 01:27:42 -0700165endif