aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/bfin_mac.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/bfin_mac.c b/drivers/net/bfin_mac.c
index 1905532d0940..38d34cec65a3 100644
--- a/drivers/net/bfin_mac.c
+++ b/drivers/net/bfin_mac.c
@@ -688,6 +688,12 @@ static int bfin_mac_hard_start_xmit(struct sk_buff *skb,
688 } 688 }
689 } 689 }
690 690
691 /* make sure the internal data buffers in the core are drained
692 * so that the DMA descriptors are completely written when the
693 * DMA engine goes to fetch them below
694 */
695 SSYNC();
696
691 /* enable this packet's dma */ 697 /* enable this packet's dma */
692 current_tx_ptr->desc_a.config |= DMAEN; 698 current_tx_ptr->desc_a.config |= DMAEN;
693 699