sh_eth: use DMA barriers
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Tue, 3 Nov 2015 19:36:04 +0000 (22:36 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Nov 2015 20:02:26 +0000 (15:02 -0500)
commitf32bfb9a8ca083f8d148ea90ae5ba66f4831836e
treed4f0001a4a03f2357284e5ff026461cfdb7ffd8f
parent73186df8d7fa574345f0ad626ebe89649f8308a5
sh_eth: use DMA barriers

Commit  7d7355f58ba4 ("sh_eth: Ensure proper ordering of descriptor active
bit write/read") did the right thing  but used too "heavy" barriers while
there were already "lighter" DMA barriers exactly  for this case...

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/sh_eth.c