diff options
Diffstat (limited to 'arch/sh/drivers/dma/Kconfig')
-rw-r--r-- | arch/sh/drivers/dma/Kconfig | 40 |
1 files changed, 36 insertions, 4 deletions
diff --git a/arch/sh/drivers/dma/Kconfig b/arch/sh/drivers/dma/Kconfig index 01936368b8b0..f13a05285a9d 100644 --- a/arch/sh/drivers/dma/Kconfig +++ b/arch/sh/drivers/dma/Kconfig | |||
@@ -9,13 +9,21 @@ config SH_DMA | |||
9 | select SH_DMA_API | 9 | select SH_DMA_API |
10 | default n | 10 | default n |
11 | 11 | ||
12 | config SH_DMA_IRQ_MULTI | ||
13 | bool | ||
14 | depends on SH_DMA | ||
15 | default y if CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7751 || \ | ||
16 | CPU_SUBTYPE_SH7750S || CPU_SUBTYPE_SH7750R || CPU_SUBTYPE_SH7751R || \ | ||
17 | CPU_SUBTYPE_SH7091 || CPU_SUBTYPE_SH7763 || CPU_SUBTYPE_SH7764 || \ | ||
18 | CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 | ||
19 | |||
12 | config NR_ONCHIP_DMA_CHANNELS | 20 | config NR_ONCHIP_DMA_CHANNELS |
13 | int | 21 | int |
14 | depends on SH_DMA | 22 | depends on SH_DMA |
15 | default "6" if CPU_SUBTYPE_SH7720 || CPU_SUBTYPE_SH7721 | 23 | default "4" if CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7750S |
16 | default "8" if CPU_SUBTYPE_SH7750R || CPU_SUBTYPE_SH7751R | 24 | default "8" if CPU_SUBTYPE_SH7750R || CPU_SUBTYPE_SH7751R || CPU_SUBTYPE_SH7760 |
17 | default "12" if CPU_SUBTYPE_SH7780 | 25 | default "12" if CPU_SUBTYPE_SH7723 || CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 |
18 | default "4" | 26 | default "6" |
19 | help | 27 | help |
20 | This allows you to specify the number of channels that the on-chip | 28 | This allows you to specify the number of channels that the on-chip |
21 | DMAC supports. This will be 4 for SH7750/SH7751 and 8 for the | 29 | DMAC supports. This will be 4 for SH7750/SH7751 and 8 for the |
@@ -46,4 +54,28 @@ config SH_DMABRG | |||
46 | of the SH7760. | 54 | of the SH7760. |
47 | Say Y if you want to use Audio/USB DMA on your SH7760 board. | 55 | Say Y if you want to use Audio/USB DMA on your SH7760 board. |
48 | 56 | ||
57 | config PVR2_DMA | ||
58 | tristate "PowerVR 2 DMAC support" | ||
59 | depends on SH_DREAMCAST && SH_DMA | ||
60 | help | ||
61 | Selecting this will enable support for the PVR2 DMA controller. | ||
62 | As this chains off of the on-chip DMAC, that must also be | ||
63 | enabled by default. | ||
64 | |||
65 | This is primarily used by the pvr2fb framebuffer driver for | ||
66 | certain optimizations, but is not necessary for functionality. | ||
67 | |||
68 | If in doubt, say N. | ||
69 | |||
70 | config G2_DMA | ||
71 | tristate "G2 Bus DMA support" | ||
72 | depends on SH_DREAMCAST | ||
73 | select SH_DMA_API | ||
74 | help | ||
75 | This enables support for the DMA controller for the Dreamcast's | ||
76 | G2 bus. Drivers that want this will generally enable this on | ||
77 | their own. | ||
78 | |||
79 | If in doubt, say N. | ||
80 | |||
49 | endmenu | 81 | endmenu |