aboutsummaryrefslogtreecommitdiff
path: root/arch/openrisc/kernel/dma.c
AgeCommit message (Collapse)AuthorFilesLines
2012-05-08openrisc: provide dma_map_opsJonas Bonn1-36/+73
This switches OpenRISC over to fully using the generic dma-mapping framework. This was almost already the case as the architecture's implementation was essentially a copy of the generic header. This also brings this architecture in line with the recent changes to dma_map_ops (adding attributes to ops->alloc). Signed-off-by: Jonas Bonn <[email protected]>
2011-09-11Add missing DMA opsJonas Bonn1-1/+27
For the initial architecture submission, not all of the DMA ops were implemented. This patch adds the *map_page and *map_sg variants of the DMA mapping ops. This patch is currently of interest mainly to some drivers that haven't been submitted upstream yet. Signed-off-by: Jonas Bonn <[email protected]>
2011-07-22OpenRISC: DMAJonas Bonn1-0/+191
Simple DMA implementation. Allows for allocation of coherent memory (simply uncached) for DMA operations. Signed-off-by: Jonas Bonn <[email protected]> Reviewed-by: Arnd Bergmann <[email protected]>