xref: /openbmc/linux/drivers/dma/Kconfig (revision 367b8112)
1#
2# DMA engine configuration
3#
4
5menuconfig DMADEVICES
6	bool "DMA Engine support"
7	depends on !HIGHMEM64G && HAS_DMA
8	help
9	  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
12	  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.
15
16if DMADEVICES
17
18comment "DMA Devices"
19
20config INTEL_IOATDMA
21	tristate "Intel I/OAT DMA support"
22	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.
32
33config INTEL_IOP_ADMA
34	tristate "Intel IOP ADMA support"
35	depends on ARCH_IOP32X || ARCH_IOP33X || ARCH_IOP13XX
36	select ASYNC_CORE
37	select DMA_ENGINE
38	help
39	  Enable support for the Intel(R) IOP Series RAID engines.
40
41config DW_DMAC
42	tristate "Synopsys DesignWare AHB DMA support"
43	depends on AVR32
44	select DMA_ENGINE
45	default y if CPU_AT32AP7000
46	help
47	  Support the Synopsys DesignWare AHB DMA controller.  This
48	  can be integrated in chips such as the Atmel AT32ap7000.
49
50config FSL_DMA
51	tristate "Freescale Elo and Elo Plus DMA support"
52	depends on FSL_SOC
53	select DMA_ENGINE
54	---help---
55	  Enable support for the Freescale Elo and Elo Plus DMA controllers.
56	  The Elo is the DMA controller on some 82xx and 83xx parts, and the
57	  Elo Plus is the DMA controller on 85xx and 86xx parts.
58
59config MV_XOR
60	bool "Marvell XOR engine support"
61	depends on PLAT_ORION
62	select ASYNC_CORE
63	select DMA_ENGINE
64	---help---
65	  Enable support for the Marvell XOR engine.
66
67config DMA_ENGINE
68	bool
69
70comment "DMA Clients"
71	depends on DMA_ENGINE
72
73config NET_DMA
74	bool "Network: TCP receive copy offload"
75	depends on DMA_ENGINE && NET
76	default (INTEL_IOATDMA || FSL_DMA)
77	help
78	  This enables the use of DMA engines in the network stack to
79	  offload receive copy-to-user operations, freeing CPU cycles.
80
81	  Say Y here if you enabled INTEL_IOATDMA or FSL_DMA, otherwise
82	  say N.
83
84config DMATEST
85	tristate "DMA Test client"
86	depends on DMA_ENGINE
87	help
88	  Simple DMA test client. Say N unless you're debugging a
89	  DMA Device driver.
90
91endif
92