Ben Hutchings 52b9fa3696 sh_eth: Fix DMA-API usage for RX buffers
- Use the return value of dma_map_single(), rather than calling
  virt_to_page() separately
- Check for mapping failue
- Call dma_unmap_single() rather than dma_sync_single_for_cpu()

Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-01-27 00:18:54 -08:00
..
2014-12-14 16:10:09 -08:00
2015-01-08 09:02:23 -07:00
2014-12-30 15:27:20 +01:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:43:47 -08:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2014-12-17 09:59:26 -08:00
2015-01-17 08:18:08 +13:00
2014-12-17 09:59:26 -08:00
2014-12-16 14:53:01 -08:00
2014-12-18 20:24:55 -08:00
2014-12-17 10:10:51 -08:00
2014-12-29 13:24:38 -08:00
2014-12-14 16:10:09 -08:00
2015-01-09 15:43:01 +01:00
2014-12-14 16:43:47 -08:00
2015-01-14 16:27:23 -08:00
2015-01-13 15:13:45 +02:00
2014-12-14 16:43:47 -08:00
2014-12-15 18:06:13 -08:00