Commit 540699a2 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] m68knommu/ColdFire base DMA addresses

From: <gerg@snapgear.com>

Define the DMA register set base address array for those m68knommu/ColdFire
CPU's that have a DMA engines.
parent 19ae7f2d
...@@ -42,6 +42,8 @@ unsigned int dma_base_addr[MAX_M68K_DMA_CHANNELS] = { ...@@ -42,6 +42,8 @@ unsigned int dma_base_addr[MAX_M68K_DMA_CHANNELS] = {
MCF_MBAR + MCFDMA_BASE1, MCF_MBAR + MCFDMA_BASE1,
}; };
unsigned int dma_device_address[MAX_M68K_DMA_CHANNELS];
/***************************************************************************/ /***************************************************************************/
void mcf_autovector(unsigned int vec) void mcf_autovector(unsigned int vec)
......
...@@ -42,6 +42,8 @@ unsigned int dma_base_addr[MAX_M68K_DMA_CHANNELS] = { ...@@ -42,6 +42,8 @@ unsigned int dma_base_addr[MAX_M68K_DMA_CHANNELS] = {
MCF_MBAR + MCFDMA_BASE1, MCF_MBAR + MCFDMA_BASE1,
}; };
unsigned int dma_device_address[MAX_M68K_DMA_CHANNELS];
/***************************************************************************/ /***************************************************************************/
void mcf_autovector(unsigned int vec) void mcf_autovector(unsigned int vec)
......
...@@ -43,6 +43,8 @@ unsigned int dma_base_addr[MAX_M68K_DMA_CHANNELS] = { ...@@ -43,6 +43,8 @@ unsigned int dma_base_addr[MAX_M68K_DMA_CHANNELS] = {
MCF_MBAR + MCFDMA_BASE3, MCF_MBAR + MCFDMA_BASE3,
}; };
unsigned int dma_device_address[MAX_M68K_DMA_CHANNELS];
/***************************************************************************/ /***************************************************************************/
void mcf_autovector(unsigned int vec) void mcf_autovector(unsigned int vec)
......
...@@ -46,6 +46,8 @@ unsigned int dma_base_addr[MAX_M68K_DMA_CHANNELS] = { ...@@ -46,6 +46,8 @@ unsigned int dma_base_addr[MAX_M68K_DMA_CHANNELS] = {
MCF_MBAR + MCFDMA_BASE0, MCF_MBAR + MCFDMA_BASE0,
}; };
unsigned int dma_device_address[MAX_M68K_DMA_CHANNELS];
/***************************************************************************/ /***************************************************************************/
void mcf_disableall(void) void mcf_disableall(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment