Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 266438
b: refs/heads/master
c: 0113922
h: refs/heads/master
v: v3
  • Loading branch information
Ian Campbell authored and David S. Miller committed Oct 5, 2011
1 parent 091903c commit ce379fd
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: 6a930b9f163d7e6d9ef692e05616c4ede65038ec
refs/heads/master: 011392224b4f6019c3b737f3dcb7c8f6fba41246
5 changes: 2 additions & 3 deletions trunk/drivers/net/ethernet/chelsio/cxgb/sge.c
Original file line number Diff line number Diff line change
Expand Up @@ -1277,9 +1277,8 @@ static inline void write_tx_descs(struct adapter *adapter, struct sk_buff *skb,
ce = q->centries;
}

mapping = pci_map_page(adapter->pdev, frag->page,
frag->page_offset, frag->size,
PCI_DMA_TODEVICE);
mapping = skb_frag_dma_map(&adapter->pdev->dev, frag, 0,
frag->size, PCI_DMA_TODEVICE);
desc_mapping = mapping;
desc_len = frag->size;

Expand Down

0 comments on commit ce379fd

Please sign in to comment.