Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 150566
b: refs/heads/master
c: 805a8ab
h: refs/heads/master
v: v3
  • Loading branch information
Sonic Zhang authored and David S. Miller committed May 29, 2009
1 parent a662e98 commit 8a0b4dd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 91a455f089810625eb94a36ccc40ae963f451b06
refs/heads/master: 805a8ab3ce1be83e9a98c21a625ebbb549a2d317
6 changes: 6 additions & 0 deletions trunk/drivers/net/bfin_mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -688,6 +688,12 @@ static int bfin_mac_hard_start_xmit(struct sk_buff *skb,
}
}

/* make sure the internal data buffers in the core are drained
* so that the DMA descriptors are completely written when the
* DMA engine goes to fetch them below
*/
SSYNC();

/* enable this packet's dma */
current_tx_ptr->desc_a.config |= DMAEN;

Expand Down

0 comments on commit 8a0b4dd

Please sign in to comment.