From: Jarod Wilson Date: Wed, 12 Mar 2008 21:43:26 +0000 (-0400) Subject: firewire: fw-ohci: use dma_alloc_coherent for ar_buffer X-Git-Tag: v2.6.25-rc6~12^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bde1709aaa98f5004ab1580842c422be18eb4bc3;p=pandora-kernel.git firewire: fw-ohci: use dma_alloc_coherent for ar_buffer Currently, we do nothing to guarantee we have a consistent DMA buffer for asynchronous receive packets. Rather than doing several sync's following a dma_map_single() to get consistent buffers, just switch to using dma_alloc_coherent(). Resolves constant buffer failures on my own x86_64 laptop w/4GB of RAM and likely to fix a number of other failures witnessed on x86_64 systems with 4GB of RAM or more. Signed-off-by: Jarod Wilson Signed-off-by: Stefan Richter --- Reading git-diff-tree failed