Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 266149
b: refs/heads/master
c: 4fee78b
h: refs/heads/master
i:
  266147: 0ec66bf
v: v3
  • Loading branch information
Ian Campbell authored and David S. Miller committed Sep 22, 2011
1 parent 9808ff8 commit 791f46f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: f722380d25516aa9934014de7c8d7284da38aa1f
refs/heads/master: 4fee78b49ca0a3b7ad8fd71ba0b7faed746875f1
6 changes: 2 additions & 4 deletions trunk/drivers/net/ethernet/sun/sungem.c
Original file line number Diff line number Diff line change
Expand Up @@ -1071,10 +1071,8 @@ static netdev_tx_t gem_start_xmit(struct sk_buff *skb,
u64 this_ctrl;

len = this_frag->size;
mapping = pci_map_page(gp->pdev,
this_frag->page,
this_frag->page_offset,
len, PCI_DMA_TODEVICE);
mapping = skb_frag_dma_map(&gp->pdev->dev, this_frag,
0, len, PCI_DMA_TODEVICE);
this_ctrl = ctrl;
if (frag == skb_shinfo(skb)->nr_frags - 1)
this_ctrl |= TXDCTRL_EOF;
Expand Down

0 comments on commit 791f46f

Please sign in to comment.