projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
810f19b
)
via-rhine: dma_wmb transmit barrier.
author
françois romieu
<romieu@fr.zoreil.com>
Fri, 1 May 2015 20:14:44 +0000
(22:14 +0200)
committer
David S. Miller
<davem@davemloft.net>
Mon, 4 May 2015 04:18:27 +0000
(
00:18
-0400)
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
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/via/via-rhine.c
b/drivers/net/ethernet/via/via-rhine.c
index 8195fcdff8abead045c0c78590bb432078a993ac..86ca8b2f0895ca776623e1752f349eeb5d9dcfd3 100644
(file)
--- a/
drivers/net/ethernet/via/via-rhine.c
+++ b/
drivers/net/ethernet/via/via-rhine.c
@@
-1849,7
+1849,7
@@
static netdev_tx_t rhine_start_tx(struct sk_buff *skb,
netdev_sent_queue(dev, skb->len);
/* lock eth irq */
- wmb();
+
dma_
wmb();
rp->tx_ring[entry].tx_status |= cpu_to_le32(DescOwn);
wmb();