Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 266484
b: refs/heads/master
c: f8f114c
h: refs/heads/master
v: v3
  • Loading branch information
Ian Campbell authored and David S. Miller committed Oct 10, 2011
1 parent 48abc94 commit 6e4625a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 618c4a0ad41a42edd4f06259623f78f2e8da66e8
refs/heads/master: f8f114c26452059e03fb970141e5795e08015217
4 changes: 2 additions & 2 deletions trunk/drivers/net/ethernet/ibm/emac/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1458,8 +1458,8 @@ static int emac_start_xmit_sg(struct sk_buff *skb, struct net_device *ndev)
if (unlikely(dev->tx_cnt + mal_tx_chunks(len) >= NUM_TX_BUFF))
goto undo_frame;

pd = dma_map_page(&dev->ofdev->dev, frag->page, frag->page_offset, len,
DMA_TO_DEVICE);
pd = skb_frag_dma_map(&dev->ofdev->dev, frag, 0, len,
DMA_TO_DEVICE);

slot = emac_xmit_split(dev, slot, pd, len, i == nr_frags - 1,
ctrl);
Expand Down

0 comments on commit 6e4625a

Please sign in to comment.