xref: /openbmc/linux/drivers/dma/Kconfig (revision a1e58bbd)
1#
2# DMA engine configuration
3#
4
5menuconfig DMADEVICES
6	bool "DMA Engine support"
7	depends on (PCI && X86) || ARCH_IOP32X || ARCH_IOP33X || ARCH_IOP13XX || PPC
8	depends on !HIGHMEM64G
9	help
10	  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.
14
15if DMADEVICES
16
17comment "DMA Devices"
18
19config INTEL_IOATDMA
20	tristate "Intel I/OAT DMA support"
21	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.
31
32config INTEL_IOP_ADMA
33	tristate "Intel IOP ADMA support"
34	depends on ARCH_IOP32X || ARCH_IOP33X || ARCH_IOP13XX
35	select ASYNC_CORE
36	select DMA_ENGINE
37	help
38	  Enable support for the Intel(R) IOP Series RAID engines.
39
40config 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
57config 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
66	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
73