aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/myricom
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/myricom')
-rw-r--r--drivers/net/ethernet/myricom/myri10ge/myri10ge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/myricom/myri10ge/myri10ge.c b/drivers/net/ethernet/myricom/myri10ge/myri10ge.c
index 8bf60348844d..26637279cd67 100644
--- a/drivers/net/ethernet/myricom/myri10ge/myri10ge.c
+++ b/drivers/net/ethernet/myricom/myri10ge/myri10ge.c
@@ -2928,7 +2928,7 @@ again:
2928 frag_idx++; 2928 frag_idx++;
2929 len = frag->size; 2929 len = frag->size;
2930 bus = skb_frag_dma_map(&mgp->pdev->dev, frag, 0, len, 2930 bus = skb_frag_dma_map(&mgp->pdev->dev, frag, 0, len,
2931 PCI_DMA_TODEVICE); 2931 DMA_TO_DEVICE);
2932 dma_unmap_addr_set(&tx->info[idx], bus, bus); 2932 dma_unmap_addr_set(&tx->info[idx], bus, bus);
2933 dma_unmap_len_set(&tx->info[idx], len, len); 2933 dma_unmap_len_set(&tx->info[idx], len, len);
2934 } 2934 }