aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include/mach-dreamcast
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2012-05-19 18:50:09 +0900
committerPaul Mundt <lethal@linux-sh.org>2012-05-19 18:50:09 +0900
commite24cca19babe33a7d05712df041f5abbeca4f1bf (patch)
tree59eac5df17932f08b2283ecf036dec2698f79d5f /arch/sh/include/mach-dreamcast
parentsh: Tidy up some of the cpu legacy dma header mess. (diff)
downloadlinux-dev-e24cca19babe33a7d05712df041f5abbeca4f1bf.tar.xz
linux-dev-e24cca19babe33a7d05712df041f5abbeca4f1bf.zip
sh: Kill off MAX_DMA_ADDRESS leftovers.
We don't support the ISA DMA API, so this is only ever misused. The dma-sh case inadvertently broke the dreamcast case by testing the wrong variable for the total number of channels, so this fixes that up too. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/mach-dreamcast')
-rw-r--r--arch/sh/include/mach-dreamcast/mach/dma.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sh/include/mach-dreamcast/mach/dma.h b/arch/sh/include/mach-dreamcast/mach/dma.h
index ddd68e788705..1dbfdf701c9d 100644
--- a/arch/sh/include/mach-dreamcast/mach/dma.h
+++ b/arch/sh/include/mach-dreamcast/mach/dma.h
@@ -11,9 +11,7 @@
#define __ASM_SH_DREAMCAST_DMA_H
/* Number of DMA channels */
-#define ONCHIP_NR_DMA_CHANNELS 4
#define G2_NR_DMA_CHANNELS 4
-#define PVR2_NR_DMA_CHANNELS 1
/* Channels for cascading */
#define PVR2_CASCADE_CHAN 2