Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 266434
b: refs/heads/master
c: bf3f1a6
h: refs/heads/master
v: v3
  • Loading branch information
Ian Campbell authored and David S. Miller committed Oct 5, 2011
1 parent 1d28a6c commit dbc84e0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 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: 01c68026e4305bc5c0a2b74e50830637f5dda9a3
refs/heads/master: bf3f1a6081aab6a0d4d708c49a158ed2e3af6f5a
12 changes: 6 additions & 6 deletions trunk/drivers/staging/et131x/et1310_tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -519,12 +519,12 @@ static int nic_send_packet(struct et131x_adapter *etdev, struct tcb *tcb)
* returned by pci_map_page() is always 32-bit
* addressable (as defined by the pci/dma subsystem)
*/
desc[frag++].addr_lo =
pci_map_page(etdev->pdev,
frags[i - 1].page,
frags[i - 1].page_offset,
frags[i - 1].size,
PCI_DMA_TODEVICE);
desc[frag++].addr_lo = skb_frag_dma_map(
&etdev->pdev->dev,
&frags[i - 1],
0,
frags[i - 1].size,
PCI_DMA_TODEVICE);
}
}

Expand Down

0 comments on commit dbc84e0

Please sign in to comment.