aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/marvell/mv643xx_eth.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/marvell/mv643xx_eth.c')
-rw-r--r--drivers/net/ethernet/marvell/mv643xx_eth.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/ethernet/marvell/mv643xx_eth.c b/drivers/net/ethernet/marvell/mv643xx_eth.c
index 1e2c9f072bfd..7325737fe93b 100644
--- a/drivers/net/ethernet/marvell/mv643xx_eth.c
+++ b/drivers/net/ethernet/marvell/mv643xx_eth.c
@@ -752,10 +752,10 @@ static void txq_submit_frag_skb(struct tx_queue *txq, struct sk_buff *skb)
752 752
753 desc->l4i_chk = 0; 753 desc->l4i_chk = 0;
754 desc->byte_cnt = this_frag->size; 754 desc->byte_cnt = this_frag->size;
755 desc->buf_ptr = dma_map_page(mp->dev->dev.parent, 755 desc->buf_ptr = skb_frag_dma_map(mp->dev->dev.parent,
756 this_frag->page, 756 this_frag, 0,
757 this_frag->page_offset, 757 this_frag->size,
758 this_frag->size, DMA_TO_DEVICE); 758 DMA_TO_DEVICE);
759 } 759 }
760} 760}
761 761