diff options
author | Manuel Lauss <mano@roarinelk.homelinux.net> | 2007-05-09 10:36:15 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-05-09 10:36:15 +0200 |
commit | fc467a2623029976899261d6d379779c950ddcba (patch) | |
tree | 16b1721c800bd907207723f8031fb8601811b584 /arch/sh/drivers/dma/Makefile | |
parent | sh: clockevent/clocksource/hrtimers/nohz TMU support. (diff) | |
download | linux-fc467a2623029976899261d6d379779c950ddcba.tar.xz linux-fc467a2623029976899261d6d379779c950ddcba.zip |
sh: SH7760 DMABRG support.
The DMABRG is a special DMA unit within the SH7760 which does data
transfers from main memory to Audio units and USB shared memory.
It has 3 IRQ lines which generate 10 events, which have to be masked
unmasked and acked in a single 32bit register. It works independently
from the tradition SH DMAC, but blocks usage of DMAC channel 0.
This patch adds 2 functions to associate callbacks with DMABRG events
and initialization.
Signed-off-by: Manuel Lauss <mano@roarinelk.homelinux.net>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/drivers/dma/Makefile')
-rw-r--r-- | arch/sh/drivers/dma/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/drivers/dma/Makefile b/arch/sh/drivers/dma/Makefile index db1295d32268..1ac812d24488 100644 --- a/arch/sh/drivers/dma/Makefile +++ b/arch/sh/drivers/dma/Makefile @@ -2,8 +2,8 @@ # Makefile for the SuperH DMA specific kernel interface routines under Linux. # -obj-y += dma-api.o +obj-$(CONFIG_SH_DMA_API) += dma-api.o dma-sysfs.o obj-$(CONFIG_ISA_DMA_API) += dma-isa.o -obj-$(CONFIG_SYSFS) += dma-sysfs.o obj-$(CONFIG_SH_DMA) += dma-sh.o obj-$(CONFIG_SH_DREAMCAST) += dma-pvr2.o dma-g2.o +obj-$(CONFIG_SH_DMABRG) += dmabrg.o |