Blackfin arch: DMA operation cleanup
authorMichael Hennerich <michael.hennerich@analog.com>
Mon, 21 May 2007 10:09:17 +0000 (18:09 +0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 21 May 2007 16:50:22 +0000 (09:50 -0700)
commit23ee968d96ef5ad564c0f0b8a30412fb93137ebb
treea323c73062fa32a794e254a39c519650f0efe4b9
parentd1b945fdb62f3e6852fea5a8779c0151ac1e55a8
Blackfin arch: DMA operation cleanup

1) Disable Interrupts during DMA memcpy to avoid raise conditions.
2) Mark MDMA channel 0 as reserved, since were using it internally.
3) Add DMA based equivalents for insX and outsX.
4) Our insX and outsX only handles len <= 2^16.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/blackfin/kernel/bfin_dma_5xx.c
include/asm-blackfin/io.h