microblaze: Support DMA

Add DMA support for Microblaze. There are some part of this new feature:
1. Basic DMA support
2. Enable DMA debug option
3. Setup notifier

Ad 1. dma-mapping come from powerpc and x86 version and it is based on
generic dma-mapping-common.h

Ad 2. DMA support debug features which is used in generic file.
For more information please look at Documentation/DMA-API.txt

Ad 3. notifier is very important to setup dma_ops. Without this part
for example ll_temac driver failed because there are no setup dma operations.

Signed-off-by: Michal Simek <monstr@monstr.eu>
This commit is contained in:
Michal Simek
2010-01-14 11:21:02 +01:00
parent 522dba7134
commit ccfe27d700
7 changed files with 322 additions and 5 deletions

View File

@@ -16,6 +16,7 @@
#include <linux/types.h>
#include <linux/mm.h> /* Get struct page {...} */
#define PCI_DRAM_OFFSET 0
#define IO_SPACE_LIMIT (0xFFFFFFFF)