blob: 27340a7b19dddb8129f8ca85e8c24cc90075b6c3 [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"
Zhang Wei173acc72008-03-01 07:42:48 -07007 depends on (PCI && X86) || ARCH_IOP32X || ARCH_IOP33X || ARCH_IOP13XX || PPC
Dan Williams00367312008-02-02 19:49:57 -07008 depends on !HIGHMEM64G
Shannon Nelson2ed6dc32007-10-16 01:27:42 -07009 help
Haavard Skinnemoen6d4f5872007-11-28 16:21:43 -080010 DMA engines can do asynchronous data transfers without
11 involving the host CPU. Currently, this framework can be
12 used to offload memory copies in the network stack and
13 RAID operations in the MD driver.
Chris Leechc13c8262006-05-23 17:18:44 -070014
Shannon Nelson2ed6dc32007-10-16 01:27:42 -070015if DMADEVICES
Chris Leechdb217332006-06-17 21:24:58 -070016
Chris Leech0bbd5f42006-05-23 17:35:34 -070017comment "DMA Devices"
18
19config INTEL_IOATDMA
20 tristate "Intel I/OAT DMA support"
Shannon Nelson2ed6dc32007-10-16 01:27:42 -070021 depends on PCI && X86
22 select DMA_ENGINE
23 select DCA
24 help
25 Enable support for the Intel(R) I/OAT DMA engine present
26 in recent Intel Xeon chipsets.
27
28 Say Y here if you have such a chipset.
29
30 If unsure, say N.
Dan Williamsc2110922007-01-02 13:52:26 -070031
32config INTEL_IOP_ADMA
Shannon Nelson2ed6dc32007-10-16 01:27:42 -070033 tristate "Intel IOP ADMA support"
34 depends on ARCH_IOP32X || ARCH_IOP33X || ARCH_IOP13XX
Dan Williamsc2110922007-01-02 13:52:26 -070035 select ASYNC_CORE
Shannon Nelson2ed6dc32007-10-16 01:27:42 -070036 select DMA_ENGINE
37 help
38 Enable support for the Intel(R) IOP Series RAID engines.
Dan Williamsc2110922007-01-02 13:52:26 -070039
Zhang Wei173acc72008-03-01 07:42:48 -070040config FSL_DMA
41 bool "Freescale MPC85xx/MPC83xx DMA support"
42 depends on PPC
43 select DMA_ENGINE
44 ---help---
45 Enable support for the Freescale DMA engine. Now, it support
46 MPC8560/40, MPC8555, MPC8548 and MPC8641 processors.
47 The MPC8349, MPC8360 is also supported.
48
49config FSL_DMA_SELFTEST
50 bool "Enable the self test for each DMA channel"
51 depends on FSL_DMA
52 default y
53 ---help---
54 Enable the self test for each DMA channel. A self test will be
55 performed after the channel probed to ensure the DMA works well.
56
Shannon Nelson2ed6dc32007-10-16 01:27:42 -070057config DMA_ENGINE
58 bool
59
60comment "DMA Clients"
61 depends on DMA_ENGINE
62
63config NET_DMA
64 bool "Network: TCP receive copy offload"
65 depends on DMA_ENGINE && NET
Shannon Nelson2ed6dc32007-10-16 01:27:42 -070066 help
67 This enables the use of DMA engines in the network stack to
68 offload receive copy-to-user operations, freeing CPU cycles.
69 Since this is the main user of the DMA engine, it should be enabled;
70 say Y here.
71
72endif