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:
7c9a2ee
)
via-rhine: commit receive buffer address before descriptor status update.
author
françois romieu
<romieu@fr.zoreil.com>
Fri, 1 May 2015 20:14:38 +0000
(22:14 +0200)
committer
David S. Miller
<davem@davemloft.net>
Mon, 4 May 2015 04:18:26 +0000
(
00:18
-0400)
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 de2850497c09d87a6e7131e12a82ce68af702dd5..88b45c7a35e02217b934536433823a7713ba5c7b 100644
(file)
--- a/
drivers/net/ethernet/via/via-rhine.c
+++ b/
drivers/net/ethernet/via/via-rhine.c
@@
-2075,6
+2075,7
@@
static int rhine_rx(struct net_device *dev, int limit)
break;
}
rp->rx_ring[entry].addr = cpu_to_le32(rp->rx_skbuff_dma[entry]);
+ dma_wmb();
}
rp->rx_ring[entry].rx_status = cpu_to_le32(DescOwn);
}