sh: dma-api channel capability extensions.
authorMark Glaisher <mark.glaisher@st.com>
Fri, 24 Nov 2006 06:13:52 +0000 (15:13 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 6 Dec 2006 01:45:39 +0000 (10:45 +0900)
commitdb9b99d461ddbbaa43c1e3581b1677b82c960948
treea4bb8ff3f8339f3389e4b367bd1c1ecd7caab752
parente803aaf63a18b26668fbfbfd41c65527bcc10532
sh: dma-api channel capability extensions.

This extends the SH DMA API for allowing handling of DMA
channels based off of their respective capabilities.

A couple of functions are added to the existing API,
the core bits are register_chan_caps() for registering
channel capabilities, and request_dma_bycap() for fetching
a channel dynamically based off of a capability set.

Signed-off-by: Mark Glaisher <mark.glaisher@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/drivers/dma/dma-api.c
include/asm-sh/dma.h