Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 265549
b: refs/heads/master
c: 70b1052
h: refs/heads/master
i:
  265547: 242c2b7
v: v3
  • Loading branch information
Ian Campbell authored and David S. Miller committed Aug 26, 2011
1 parent f7e3775 commit f5533d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 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: c517202f3cf1cd189259c50d55622d8c7ab16eb2
refs/heads/master: 70b1052ad284d97d0a4d7f56ad63d1757f1da08f
8 changes: 3 additions & 5 deletions trunk/drivers/infiniband/hw/amso1100/c2.c
Original file line number Diff line number Diff line change
Expand Up @@ -802,11 +802,9 @@ static int c2_xmit_frame(struct sk_buff *skb, struct net_device *netdev)
for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
skb_frag_t *frag = &skb_shinfo(skb)->frags[i];
maplen = frag->size;
mapaddr =
pci_map_page(c2dev->pcidev, frag->page,
frag->page_offset, maplen,
PCI_DMA_TODEVICE);

mapaddr = skb_frag_dma_map(&c2dev->pcidev->dev, frag,
0, maplen,
PCI_DMA_TODEVICE);
elem = elem->next;
elem->skb = NULL;
elem->mapaddr = mapaddr;
Expand Down

0 comments on commit f5533d6

Please sign in to comment.