7 bool "SuperH on-chip DMA controller (DMAC) support"
8 depends on CPU_SH3 || CPU_SH4
12 config SH_DMA_IRQ_MULTI
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
20 config NR_ONCHIP_DMA_CHANNELS
23 default "4" if CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7750S
24 default "8" if CPU_SUBTYPE_SH7750R || CPU_SUBTYPE_SH7751R || CPU_SUBTYPE_SH7760
25 default "12" if CPU_SUBTYPE_SH7723 || CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
28 This allows you to specify the number of channels that the on-chip
29 DMAC supports. This will be 4 for SH7750/SH7751 and 8 for the
32 config NR_DMA_CHANNELS_BOOL
34 bool "Override default number of maximum DMA channels"
36 This allows you to forcibly update the maximum number of supported
37 DMA channels for a given board. If this is unset, this will default
38 to the number of channels that the on-chip DMAC has.
40 config NR_DMA_CHANNELS
41 int "Maximum number of DMA channels"
42 depends on SH_DMA && NR_DMA_CHANNELS_BOOL
43 default NR_ONCHIP_DMA_CHANNELS
45 This allows you to specify the maximum number of DMA channels to
46 support. Setting this to a higher value allows for cascading DMACs
47 with additional channels.
50 bool "SH7760 DMABRG support"
51 depends on CPU_SUBTYPE_SH7760
53 The DMABRG does data transfers from main memory to Audio/USB units
55 Say Y if you want to use Audio/USB DMA on your SH7760 board.
58 tristate "PowerVR 2 DMAC support"
59 depends on SH_DREAMCAST && SH_DMA
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
65 This is primarily used by the pvr2fb framebuffer driver for
66 certain optimizations, but is not necessary for functionality.
71 tristate "G2 Bus DMA support"
72 depends on SH_DREAMCAST
75 This enables support for the DMA controller for the Dreamcast's
76 G2 bus. Drivers that want this will generally enable this on