]> git.baikalelectronics.ru Git - kernel.git/commit
atmel-mci: change use of dma slave interface
authorNicolas Ferre <nicolas.ferre@atmel.com>
Tue, 15 Dec 2009 02:01:30 +0000 (18:01 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 15 Dec 2009 16:53:35 +0000 (08:53 -0800)
commit317522a1e5a39df8893d7862aa2c6bd9aa7f869d
tree11c8f09f15cd2f19bfd6f2d2d9b2cac67544179f
parente0e00517a8156cd5e41dd7804856c07e5c8b89fd
atmel-mci: change use of dma slave interface

Allow the use of another DMA controller driver in atmel-mci sd/mmc driver.
 This adds a generic dma_slave pointer to the mci platform structure where
we can store DMA controller information.  In atmel-mci we use information
provided by this structure to initialize the driver (with new helper
functions that are architecture dependant).

This also adds at32/avr32 chip modifications to cope with this new access
method.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/arm/mach-at91/include/mach/atmel-mci.h [new file with mode: 0644]
arch/avr32/mach-at32ap/at32ap700x.c
arch/avr32/mach-at32ap/include/mach/atmel-mci.h [new file with mode: 0644]
drivers/mmc/host/atmel-mci.c
include/linux/atmel-mci.h