Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 265716
b: refs/heads/master
c: 4bb97ca
h: refs/heads/master
v: v3
  • Loading branch information
Ian Campbell authored and David S. Miller committed Sep 15, 2011
1 parent 4980379 commit c924c99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: bc516c8f9d35e42dec463dc5c6e1f1202c730fd4
refs/heads/master: 4bb97cae662ea6e2a5aa5982d0b289a8c48d64c6
5 changes: 2 additions & 3 deletions trunk/drivers/net/ethernet/pasemi/pasemi_mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -1505,9 +1505,8 @@ static int pasemi_mac_start_tx(struct sk_buff *skb, struct net_device *dev)
for (i = 0; i < nfrags; i++) {
skb_frag_t *frag = &skb_shinfo(skb)->frags[i];

map[i+1] = pci_map_page(mac->dma_pdev, frag->page,
frag->page_offset, frag->size,
PCI_DMA_TODEVICE);
map[i + 1] = skb_frag_dma_map(&mac->dma_pdev->dev, frag, 0,
frag->size, PCI_DMA_TODEVICE);
map_size[i+1] = frag->size;
if (pci_dma_mapping_error(mac->dma_pdev, map[i+1])) {
nfrags = i;
Expand Down

0 comments on commit c924c99

Please sign in to comment.