Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 81797
b: refs/heads/master
c: dad263b
h: refs/heads/master
i:
  81795: bf94a15
v: v3
  • Loading branch information
Greg Ungerer authored and Linus Torvalds committed Feb 1, 2008
1 parent 088022a commit aa06f10
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6d3867987b8eefd880246f7dab085fcbe348c4dd
refs/heads/master: dad263b84e244cd991f40ab9f87813078f585abb
39 changes: 39 additions & 0 deletions trunk/arch/m68knommu/platform/coldfire/dma.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
/***************************************************************************/

/*
* dma.c -- Freescale ColdFire DMA support
*
* Copyright (C) 2007, Greg Ungerer (gerg@snapgear.com)
*/

/***************************************************************************/

#include <linux/kernel.h>
#include <asm/dma.h>
#include <asm/coldfire.h>
#include <asm/mcfsim.h>
#include <asm/mcfdma.h>

/***************************************************************************/

/*
* DMA channel base address table.
*/
unsigned int dma_base_addr[MAX_M68K_DMA_CHANNELS] = {
#ifdef MCFDMA_BASE0
MCF_MBAR + MCFDMA_BASE0,
#endif
#ifdef MCFDMA_BASE1
MCF_MBAR + MCFDMA_BASE1,
#endif
#ifdef MCFDMA_BASE2
MCF_MBAR + MCFDMA_BASE2,
#endif
#ifdef MCFDMA_BASE3
MCF_MBAR + MCFDMA_BASE3,
#endif
};

unsigned int dma_device_address[MAX_M68K_DMA_CHANNELS];

/***************************************************************************/

0 comments on commit aa06f10

Please sign in to comment.