Commit 3ed6f695 authored by Ian Campbell's avatar Ian Campbell Committed by David S. Miller

ll_temac: convert to SKB paged frag API.

Signed-off-by: default avatarIan Campbell <ian.campbell@citrix.com>
Cc: netdev@vger.kernel.org
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f8f114c2
...@@ -715,8 +715,7 @@ static int temac_start_xmit(struct sk_buff *skb, struct net_device *ndev) ...@@ -715,8 +715,7 @@ static int temac_start_xmit(struct sk_buff *skb, struct net_device *ndev)
cur_p = &lp->tx_bd_v[lp->tx_bd_tail]; cur_p = &lp->tx_bd_v[lp->tx_bd_tail];
cur_p->phys = dma_map_single(ndev->dev.parent, cur_p->phys = dma_map_single(ndev->dev.parent,
(void *)page_address(frag->page) + skb_frag_address(frag),
frag->page_offset,
frag->size, DMA_TO_DEVICE); frag->size, DMA_TO_DEVICE);
cur_p->len = frag->size; cur_p->len = frag->size;
cur_p->app0 = 0; cur_p->app0 = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment