aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Campbell <Ian.Campbell@citrix.com>2011-10-09 21:11:40 -0400
committerDavid S. Miller <davem@davemloft.net>2011-10-10 15:19:13 -0400
commit3ed6f6958c0ac21958285d8648f14d34da4bbcb3 (patch)
tree2740ae6cbc80511f435f97d8668aa677ba43702c
parentf8f114c26452059e03fb970141e5795e08015217 (diff)
ll_temac: convert to SKB paged frag API.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Cc: netdev@vger.kernel.org Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ethernet/xilinx/ll_temac_main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/xilinx/ll_temac_main.c b/drivers/net/ethernet/xilinx/ll_temac_main.c
index 570776edc01b..66e3c36c3733 100644
--- a/drivers/net/ethernet/xilinx/ll_temac_main.c
+++ b/drivers/net/ethernet/xilinx/ll_temac_main.c
@@ -715,8 +715,7 @@ static int temac_start_xmit(struct sk_buff *skb, struct net_device *ndev)
715 715
716 cur_p = &lp->tx_bd_v[lp->tx_bd_tail]; 716 cur_p = &lp->tx_bd_v[lp->tx_bd_tail];
717 cur_p->phys = dma_map_single(ndev->dev.parent, 717 cur_p->phys = dma_map_single(ndev->dev.parent,
718 (void *)page_address(frag->page) + 718 skb_frag_address(frag),
719 frag->page_offset,
720 frag->size, DMA_TO_DEVICE); 719 frag->size, DMA_TO_DEVICE);
721 cur_p->len = frag->size; 720 cur_p->len = frag->size;
722 cur_p->app0 = 0; 721 cur_p->app0 = 0;