]> git.karo-electronics.de Git - karo-tx-linux.git/commit
p54pci: update receive dma buffers before and after processing
authorChristian Lamparter <chunkeey@googlemail.com>
Fri, 11 Feb 2011 00:48:42 +0000 (01:48 +0100)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 26 Jun 2011 16:46:48 +0000 (12:46 -0400)
commitd331c40e1e5b23675f0bba8c3e14d0c62a9590ef
treeb9296190cada2bfbc1073f16372fca9c42337427
parent5ed8873c6ee48c6f1ead18ba072fc61cecb6e145
p54pci: update receive dma buffers before and after processing

commit 0bf719dfdecc5552155cbec78e49fa06e531e35c upstream.

Documentation/DMA-API-HOWTO.txt states:

"DMA transfers need to be synced properly in order for
the cpu and device to see the most uptodate and correct
copy of the DMA buffer."

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/net/wireless/p54/p54pci.c