From: Greg Ungerer Date: Tue, 10 Jul 2012 03:50:58 +0000 (+1000) Subject: m68k: add support for DMA_BIDIRECTIONAL in dma support functions X-Git-Tag: v3.6-rc1~108^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2661c621525956dfdd1e66e1e4fd94b7e4b6ed5;p=pandora-kernel.git m68k: add support for DMA_BIDIRECTIONAL in dma support functions The dma cache support functions do not currently support the direction flag DMA_BIDIRECTIONAL. If a driver passes this direction to dma_map_single or friends you will get console output like this: dma_sync_single_for_device: unsupported dir 0 For example when using the Intel e100 ethernet driver on a ColdFire platform with PCI bus. You will get a stream of these messages coming out. Modify the dma cache support code adding support for DMA_BIDIRECTIONAL. It is actioned by doing a cache push operation. Signed-off-by: Greg Ungerer --- Reading git-diff-tree failed