diff options
author | Ian Campbell <Ian.Campbell@citrix.com> | 2011-09-21 21:53:17 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-09-22 16:04:15 -0400 |
commit | 516733c2bbb76404faa201e1595361be6ab58119 (patch) | |
tree | 9dd9a0257d600d621d428672f19483c7d28d6d7a /drivers/net/ethernet | |
parent | 4a22c4c919c201c2a7f4ee09e672435a3072d875 (diff) | |
download | talos-obmc-linux-516733c2bbb76404faa201e1595361be6ab58119.tar.gz talos-obmc-linux-516733c2bbb76404faa201e1595361be6ab58119.zip |
skge: convert to SKB paged frag API.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Cc: Stephen Hemminger <shemminger@linux-foundation.org>
Cc: netdev@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r-- | drivers/net/ethernet/marvell/skge.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/marvell/skge.c b/drivers/net/ethernet/marvell/skge.c index 34622b038094..88e5856e06db 100644 --- a/drivers/net/ethernet/marvell/skge.c +++ b/drivers/net/ethernet/marvell/skge.c @@ -2758,8 +2758,8 @@ static netdev_tx_t skge_xmit_frame(struct sk_buff *skb, for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) { skb_frag_t *frag = &skb_shinfo(skb)->frags[i]; - map = pci_map_page(hw->pdev, frag->page, frag->page_offset, - frag->size, PCI_DMA_TODEVICE); + map = skb_frag_dma_map(&hw->pdev->dev, frag, 0, + frag->size, PCI_DMA_TODEVICE); e = e->next; e->skb = skb; |