diff options
Diffstat (limited to 'drivers/dma/Kconfig')
-rw-r--r-- | drivers/dma/Kconfig | 60 |
1 files changed, 35 insertions, 25 deletions
diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index 8f670dae53bb..9c91b0fd134f 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig | |||
@@ -2,42 +2,52 @@ | |||
2 | # DMA engine configuration | 2 | # DMA engine configuration |
3 | # | 3 | # |
4 | 4 | ||
5 | menu "DMA Engine support" | 5 | menuconfig DMADEVICES |
6 | depends on HAS_DMA | 6 | bool "DMA Offload Engine support" |
7 | depends on (PCI && X86) || ARCH_IOP32X || ARCH_IOP33X || ARCH_IOP13XX | ||
8 | help | ||
9 | Intel(R) offload engines enable offloading memory copies in the | ||
10 | network stack and RAID operations in the MD driver. | ||
11 | |||
12 | if DMADEVICES | ||
13 | |||
14 | comment "DMA Devices" | ||
15 | |||
16 | config INTEL_IOATDMA | ||
17 | tristate "Intel I/OAT DMA support" | ||
18 | depends on PCI && X86 | ||
19 | select DMA_ENGINE | ||
20 | select DCA | ||
21 | help | ||
22 | Enable support for the Intel(R) I/OAT DMA engine present | ||
23 | in recent Intel Xeon chipsets. | ||
24 | |||
25 | Say Y here if you have such a chipset. | ||
26 | |||
27 | If unsure, say N. | ||
28 | |||
29 | config INTEL_IOP_ADMA | ||
30 | tristate "Intel IOP ADMA support" | ||
31 | depends on ARCH_IOP32X || ARCH_IOP33X || ARCH_IOP13XX | ||
32 | select ASYNC_CORE | ||
33 | select DMA_ENGINE | ||
34 | help | ||
35 | Enable support for the Intel(R) IOP Series RAID engines. | ||
7 | 36 | ||
8 | config DMA_ENGINE | 37 | config DMA_ENGINE |
9 | bool "Support for DMA engines" | 38 | bool |
10 | ---help--- | ||
11 | DMA engines offload bulk memory operations from the CPU to dedicated | ||
12 | hardware, allowing the operations to happen asynchronously. | ||
13 | 39 | ||
14 | comment "DMA Clients" | 40 | comment "DMA Clients" |
41 | depends on DMA_ENGINE | ||
15 | 42 | ||
16 | config NET_DMA | 43 | config NET_DMA |
17 | bool "Network: TCP receive copy offload" | 44 | bool "Network: TCP receive copy offload" |
18 | depends on DMA_ENGINE && NET | 45 | depends on DMA_ENGINE && NET |
19 | default y | 46 | default y |
20 | ---help--- | 47 | help |
21 | This enables the use of DMA engines in the network stack to | 48 | This enables the use of DMA engines in the network stack to |
22 | offload receive copy-to-user operations, freeing CPU cycles. | 49 | offload receive copy-to-user operations, freeing CPU cycles. |
23 | Since this is the main user of the DMA engine, it should be enabled; | 50 | Since this is the main user of the DMA engine, it should be enabled; |
24 | say Y here. | 51 | say Y here. |
25 | 52 | ||
26 | comment "DMA Devices" | 53 | endif |
27 | |||
28 | config INTEL_IOATDMA | ||
29 | tristate "Intel I/OAT DMA support" | ||
30 | depends on DMA_ENGINE && PCI | ||
31 | default m | ||
32 | ---help--- | ||
33 | Enable support for the Intel(R) I/OAT DMA engine. | ||
34 | |||
35 | config INTEL_IOP_ADMA | ||
36 | tristate "Intel IOP ADMA support" | ||
37 | depends on DMA_ENGINE && (ARCH_IOP32X || ARCH_IOP33X || ARCH_IOP13XX) | ||
38 | select ASYNC_CORE | ||
39 | default m | ||
40 | ---help--- | ||
41 | Enable support for the Intel(R) IOP Series RAID engines. | ||
42 | |||
43 | endmenu | ||