]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit33a2ecfeac55dc6285fd8513e94c768e9b41190f
treea323c73062fa32a794e254a39c519650f0efe4b9
parent124d5bc9d32b18363645a8ae49dc8b181fd8f673
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