blob: e4dd0065da33e001de7ce80de980434b49d3758b [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
Shannon Nelson2ed6dc32007-10-16 01:27:42 -070050config DMA_ENGINE
51 bool
52
53comment "DMA Clients"
54 depends on DMA_ENGINE
55
56config NET_DMA
57 bool "Network: TCP receive copy offload"
58 depends on DMA_ENGINE && NET
Dan Williams9c402f42008-06-27 01:21:11 -070059 default (INTEL_IOATDMA || FSL_DMA)
Shannon Nelson2ed6dc32007-10-16 01:27:42 -070060 help
61 This enables the use of DMA engines in the network stack to
62 offload receive copy-to-user operations, freeing CPU cycles.
Dan Williams9c402f42008-06-27 01:21:11 -070063
64 Say Y here if you enabled INTEL_IOATDMA or FSL_DMA, otherwise
65 say N.
Shannon Nelson2ed6dc32007-10-16 01:27:42 -070066
67endif