diff options
author | Vladislav Zolotarov <vladz@broadcom.com> | 2011-07-19 01:37:42 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-19 09:57:46 -0700 |
commit | 9924cafc403ca74614c0a8b1ad198406ae02c68b (patch) | |
tree | 6944abd14a3fa7508d1f8d29fedc43272f3bba32 /drivers/net/bnx2x/bnx2x_cmn.c | |
parent | 81fc70d86527a1450560709500ca5f52e661da1f (diff) |
bnx2x: use correct dma_sync function
Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x/bnx2x_cmn.c')
-rw-r--r-- | drivers/net/bnx2x/bnx2x_cmn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bnx2x/bnx2x_cmn.c b/drivers/net/bnx2x/bnx2x_cmn.c index b05ce9306dea..150147aa73b3 100644 --- a/drivers/net/bnx2x/bnx2x_cmn.c +++ b/drivers/net/bnx2x/bnx2x_cmn.c @@ -676,7 +676,7 @@ int bnx2x_rx_int(struct bnx2x_fastpath *fp, int budget) /* non TPA */ len = le16_to_cpu(cqe_fp->pkt_len); pad = cqe_fp->placement_offset; - dma_sync_single_for_device(&bp->pdev->dev, + dma_sync_single_for_cpu(&bp->pdev->dev, dma_unmap_addr(rx_buf, mapping), pad + RX_COPY_THRESH, DMA_FROM_DEVICE); |