Path: blob/master/arch/m68k/platform/coldfire/dma.c
10818 views
/***************************************************************************/12/*3* dma.c -- Freescale ColdFire DMA support4*5* Copyright (C) 2007, Greg Ungerer ([email protected])6*/78/***************************************************************************/910#include <linux/kernel.h>11#include <linux/module.h>12#include <asm/dma.h>13#include <asm/coldfire.h>14#include <asm/mcfsim.h>15#include <asm/mcfdma.h>1617/***************************************************************************/1819/*20* DMA channel base address table.21*/22unsigned int dma_base_addr[MAX_M68K_DMA_CHANNELS] = {23#ifdef MCFDMA_BASE024MCFDMA_BASE0,25#endif26#ifdef MCFDMA_BASE127MCFDMA_BASE1,28#endif29#ifdef MCFDMA_BASE230MCFDMA_BASE2,31#endif32#ifdef MCFDMA_BASE333MCFDMA_BASE3,34#endif35};36EXPORT_SYMBOL(dma_base_addr);3738unsigned int dma_device_address[MAX_M68K_DMA_CHANNELS];39EXPORT_SYMBOL(dma_device_address);4041/***************************************************************************/424344