···1616#include <linux/sched.h>1717#include <linux/sysdev.h>1818#include <cpu/dma.h>1919-2020-/* The maximum address that we can perform a DMA transfer to on this platform */2121-/* Don't define MAX_DMA_ADDRESS; it's useless on the SuperH and any2222- occurrence should be flagged as an error. */2323-/* But... */2424-/* XXX: This is not applicable to SuperH, just needed for alloc_bootmem */2525-#define MAX_DMA_ADDRESS (PAGE_OFFSET+0x10000000)1919+#include <asm-generic/dma.h>26202721#ifdef CONFIG_NR_DMA_CHANNELS2822# define MAX_DMA_CHANNELS (CONFIG_NR_DMA_CHANNELS)···131137132138extern int request_dma_bycap(const char **dmac, const char **caps,133139 const char *dev_id);134134-extern int request_dma(unsigned int chan, const char *dev_id);135135-extern void free_dma(unsigned int chan);136140extern int get_dma_residue(unsigned int chan);137141extern struct dma_info *get_dma_info(unsigned int chan);138142extern struct dma_channel *get_dma_channel(unsigned int chan);