blob: 5af8b1cfc1e9ce714eceb358d62d37b2841d8af1 [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 Williams9c402f42008-06-27 01:21:11 -07007 depends on !HIGHMEM64G && 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
20config INTEL_IOATDMA
21 tristate "Intel I/OAT DMA support"
Shannon Nelson2ed6dc32007-10-16 01:27:42 -070022 depends on PCI && X86
23 select DMA_ENGINE
24 select DCA
25 help
26 Enable support for the Intel(R) I/OAT DMA engine present
27 in recent Intel Xeon chipsets.
28
29 Say Y here if you have such a chipset.
30
31 If unsure, say N.
Dan Williamsc2110922007-01-02 13:52:26 -070032
33config INTEL_IOP_ADMA
Shannon Nelson2ed6dc32007-10-16 01:27:42 -070034 tristate "Intel IOP ADMA support"
35 depends on ARCH_IOP32X || ARCH_IOP33X || ARCH_IOP13XX
Dan Williamsc2110922007-01-02 13:52:26 -070036 select ASYNC_CORE
Shannon Nelson2ed6dc32007-10-16 01:27:42 -070037 select DMA_ENGINE
38 help
39 Enable support for the Intel(R) IOP Series RAID engines.
Dan Williamsc2110922007-01-02 13:52:26 -070040
Zhang Wei173acc72008-03-01 07:42:48 -070041config FSL_DMA
42 bool "Freescale MPC85xx/MPC83xx DMA support"
43 depends on PPC
44 select DMA_ENGINE
45 ---help---
46 Enable support for the Freescale DMA engine. Now, it support
47 MPC8560/40, MPC8555, MPC8548 and MPC8641 processors.
48 The MPC8349, MPC8360 is also supported.
49
Saeed Bisharaff7b0472008-07-08 11:58:36 -070050config MV_XOR
51 bool "Marvell XOR engine support"
52 depends on PLAT_ORION
53 select ASYNC_CORE
54 select DMA_ENGINE
55 ---help---
56 Enable support for the Marvell XOR engine.
57
Shannon Nelson2ed6dc32007-10-16 01:27:42 -070058config DMA_ENGINE
59 bool
60
61comment "DMA Clients"
62 depends on DMA_ENGINE
63
64config NET_DMA
65 bool "Network: TCP receive copy offload"
66 depends on DMA_ENGINE && NET
Dan Williams9c402f42008-06-27 01:21:11 -070067 default (INTEL_IOATDMA || FSL_DMA)
Shannon Nelson2ed6dc32007-10-16 01:27:42 -070068 help
69 This enables the use of DMA engines in the network stack to
70 offload receive copy-to-user operations, freeing CPU cycles.
Dan Williams9c402f42008-06-27 01:21:11 -070071
72 Say Y here if you enabled INTEL_IOATDMA or FSL_DMA, otherwise
73 say N.
Shannon Nelson2ed6dc32007-10-16 01:27:42 -070074
75endif