sh: SH-DMAC compile fixes
authorManuel Lauss <mano@roarinelk.homelinux.net>
Thu, 25 Jan 2007 06:22:11 +0000 (15:22 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 13 Feb 2007 01:54:45 +0000 (10:54 +0900)
commit9f8a5e3a44d81bbf19fddeb74645dec6b0e23b23
tree4dafea7b95e764eb9d01b66eca2800527171a7fa
parent6dcda6f1ecef86209ac161631837bc57172ba049
sh: SH-DMAC compile fixes

This patch does the following:
- remove the make_ipr_irq stuff from dma-sh.c and replace it
  with a simple channel<->irq mapping table.
- add DMTEx_IRQ constants for sh4 cpus
- fix sh7751 DMAE irq number

The SH7780 uses the same IRQs for DMA as other SH4 types, so
I put the constants on top of the dma.h file.

Other CPU types need to #define their own DMTEx_IRQ contants
in their appropriate header.

Signed-off-by: Manuel Lauss <mano@roarinelk.homelinux.net>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/drivers/dma/dma-sh.c
arch/sh/kernel/cpu/sh4/setup-sh7750.c
include/asm-sh/cpu-sh4/dma.h