diff options
author | Paul Mundt <lethal@linux-sh.org> | 2012-05-19 05:50:09 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2012-05-19 05:50:09 -0400 |
commit | e24cca19babe33a7d05712df041f5abbeca4f1bf (patch) | |
tree | 59eac5df17932f08b2283ecf036dec2698f79d5f /arch/sh/include/mach-dreamcast | |
parent | 2ff9f317f15b7c3bd95273a7f04ca0b148850104 (diff) |
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.h | 2 |
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 @@ | |||
11 | #define __ASM_SH_DREAMCAST_DMA_H | 11 | #define __ASM_SH_DREAMCAST_DMA_H |
12 | 12 | ||
13 | /* Number of DMA channels */ | 13 | /* Number of DMA channels */ |
14 | #define ONCHIP_NR_DMA_CHANNELS 4 | ||
15 | #define G2_NR_DMA_CHANNELS 4 | 14 | #define G2_NR_DMA_CHANNELS 4 |
16 | #define PVR2_NR_DMA_CHANNELS 1 | ||
17 | 15 | ||
18 | /* Channels for cascading */ | 16 | /* Channels for cascading */ |
19 | #define PVR2_CASCADE_CHAN 2 | 17 | #define PVR2_CASCADE_CHAN 2 |