sh_eth: add EDMR.NBST support
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Fri, 18 May 2018 18:31:28 +0000 (21:31 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 20 May 2018 03:24:46 +0000 (23:24 -0400)
commit93f0fa75190fefee55408a1c0812fa54f576c61b
tree8653a65e93dd5bb82360c13e4dc15ea9a8a0abee
parent230c184679d5517e9770275853cd3456d00d6599
sh_eth: add EDMR.NBST support

The R-Car V3H (AKA R8A77980) GEther controller adds the DMA burst mode bit
(NBST) in EDMR and the manual tells to always set it before doing any DMA.

Based on the original (and large) patch by Vladimir Barinov.

Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/sh_eth.c
drivers/net/ethernet/renesas/sh_eth.h