Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 265768
b: refs/heads/master
c: 8d1bb86
h: refs/heads/master
v: v3
  • Loading branch information
Ian Campbell authored and David S. Miller committed Aug 30, 2011
1 parent 87d2419 commit 73ec4a6
Show file tree
Hide file tree
Showing 2 changed files with 5 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: c4c8d5796ce54e96885e227931986996b343a1d0
refs/heads/master: 8d1bb865575d0d4a8cbe2ad5f8fd269e9dff0134
9 changes: 4 additions & 5 deletions trunk/drivers/net/ethernet/atheros/atl1c/atl1c_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2180,11 +2180,10 @@ static void atl1c_tx_map(struct atl1c_adapter *adapter,

buffer_info = atl1c_get_tx_buffer(adapter, use_tpd);
buffer_info->length = frag->size;
buffer_info->dma =
pci_map_page(adapter->pdev, frag->page,
frag->page_offset,
buffer_info->length,
PCI_DMA_TODEVICE);
buffer_info->dma = skb_frag_dma_map(&adapter->pdev->dev,
frag, 0,
buffer_info->length,
PCI_DMA_TODEVICE);
ATL1C_SET_BUFFER_STATE(buffer_info, ATL1C_BUFFER_BUSY);
ATL1C_SET_PCIMAP_TYPE(buffer_info, ATL1C_PCIMAP_PAGE,
ATL1C_PCIMAP_TODEVICE);
Expand Down

0 comments on commit 73ec4a6

Please sign in to comment.