sh: Fix SH-4 DMAC CHCR masking.
authorAdrian McMenamin <adrian@mcmen.demon.co.uk>
Sun, 7 Oct 2007 20:19:36 +0000 (05:19 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Sun, 7 Oct 2007 20:19:36 +0000 (05:19 +0900)
commit5d9df8eeacec943c9599f1cfd1069bc8cced3de6
treeb4152f75e64f160d419817fe278dae381515071d
parent6cc15e9fdce49e6b3d00eba4dfcdfbe1496f2114
sh: Fix SH-4 DMAC CHCR masking.

This patch fixes the DMA cascade by masking the correct bits.

Tested and working with Dreamcast PVR2 DMA. With this patch applied
the existing mainline code in arch/sh/drivers/dma/dma-sh.c works,
whereas before I was patching that to get round this problem.

Signed-off-by: Adrian McMenamin <adrian@mcmen.demon.co.uk>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
include/asm-sh/cpu-sh4/dma.h