via-rhine: dma_wmb transmit barrier.
authorfrançois romieu <romieu@fr.zoreil.com>
Fri, 1 May 2015 20:14:44 +0000 (22:14 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 May 2015 04:18:27 +0000 (00:18 -0400)
commite1efa87241272104d6a12c8b9fcdc4f62634d447
tree11869cc8beb2e002cd2347d7fc15f721c26887f5
parent810f19bcb862f8889b27e0c9d9eceac9593925dd
via-rhine: dma_wmb transmit barrier.

Follow the now usual transmit descriptor update path:
1. content change
2. dma_wmb
3. ownership change

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/via/via-rhine.c