]> git.baikalelectronics.ru Git - kernel.git/commit
b43: Add RX side DMA memory barrier
authorMichael Büsch <m@bues.ch>
Mon, 4 Jul 2011 17:51:11 +0000 (19:51 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 5 Jul 2011 19:26:59 +0000 (15:26 -0400)
commita9af78ea8e6ef86c8bd1cf1b41457f1ed660e6f1
treec44422c46263f774cbc5f3d211df309ecddb590f
parent278bbcacc16fc294c6bbd55168fd2a3b0fcc9909
b43: Add RX side DMA memory barrier

This adds a memory barrier to ensure the writes to the ring memory
are committed before the DMA ring pointer is updated.
We do a similar thing on the TX side already.

Signed-off-by: Michael Buesch <m@bues.ch>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/dma.c