sh: Fix up CPU dependencies for on-chip DMAC.
[pandora-kernel.git] / arch / sh / drivers / dma / Kconfig
index defc13c..93cc6a4 100644 (file)
@@ -1,12 +1,13 @@
 menu "DMA support"
 
-config SH_DMA
-       bool "DMA controller (DMAC) support"
-       help
-         Selecting this option will provide same API as PC's Direct Memory
-         Access Controller(8237A) for SuperH DMAC.
+config SH_DMA_API
+       bool
 
-         If unsure, say N.
+config SH_DMA
+       bool "SuperH on-chip DMA controller (DMAC) support"
+       depends on CPU_SH3 || CPU_SH4
+       select SH_DMA_API
+       default n
 
 config NR_ONCHIP_DMA_CHANNELS
        depends on SH_DMA
@@ -36,21 +37,12 @@ config NR_DMA_CHANNELS
          support. Setting this to a higher value allows for cascading DMACs
          with additional channels.
 
-config DMA_PAGE_OPS
-       bool "Use DMAC for page copy/clear"
-       depends on SH_DMA && BROKEN
-       help
-         Selecting this option will use a dual-address mode configured channel
-         in the SH DMAC for copy_page()/clear_page(). Primarily a performance
-         hack.
-
-config DMA_PAGE_OPS_CHANNEL
-       depends on DMA_PAGE_OPS
-       int "DMA channel for sh memory-manager page copy/clear"
-       default "3"
+config SH_DMABRG
+       bool "SH7760 DMABRG support"
+       depends on CPU_SUBTYPE_SH7760
        help
-         This allows the specification of the dual address dma channel,
-         in case channel 3 is unavailable. On the SH4, channels 1,2, and 3
-         are dual-address capable.
+         The DMABRG does data transfers from main memory to Audio/USB units
+         of the SH7760.
+         Say Y if you want to use Audio/USB DMA on your SH7760 board.
 
 endmenu