mlx4: replace the dma_sync_single_range_for_cpu/device API
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Thu, 4 Feb 2010 18:57:42 +0000 (18:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Feb 2010 21:19:51 +0000 (13:19 -0800)
commite4fc85600b1b4b8114354846ab9594ad354882d0
tree8b0e5e0f95e876c64afbfc78c2bebceec440be74
parent6e03718c852a7b2ce756e37ae340f4ebfec2f6f3
mlx4: replace the dma_sync_single_range_for_cpu/device API

There are only two users of the dma_sync_single_range_for_cpu/device
API in mainline (mlx4 and ssb). The
dma_sync_single_range_for_cpu/device API has never been documented and
the dma_sync_single_for_cpu/device API also support a partial sync.

This converts mlx4 to use the dma_sync_single_for_cpu/device API
(preparations for the removal of the dma_sync_single_range_for_cpu/device API).

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mlx4/en_rx.c