This patch for 2.6.10 should be downwards compatible.
I also used pci_dma_sync_single_for_cpu and _for_device - while Richard
Dawe only uses _for_cpu - but I'm not sure if this is correct.
I'm using my patch here with 2.6.10 final and it works fine.
Benedikt 'Hunz' Heinz <hunz@...>
From: Chris Wedgwood <cw@f0...> - 2004-12-28 00:07:03
On Mon, Dec 27, 2004 at 09:38:31PM +0100, Benedikt 'Hunz' Heinz wrote:
> ok as far as i understand that _for_cpu is always needed - here is a
> corrected patch
for x86 and similar it won't make a difference --- for arm and a few
other platforms where dma isn't automagically coherent it probably