sh_eth: re-enable-E-MAC interrupts in sh_eth_set_ringparam()
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sat, 9 Apr 2016 23:28:41 +0000 (02:28 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 10 Apr 2016 01:27:04 +0000 (21:27 -0400)
commit49dd48dafec64fe99bdcc518092c5db4bffaa8a9
treeeb1036a5eeb176270fad100675ba074bf31acb7a
parent183c948a3cb3efbf45eabed41fa7ee04c19378fc
sh_eth: re-enable-E-MAC interrupts in sh_eth_set_ringparam()

The E-MAC interrupts are left disabled when the ring parameters are changed
via 'ethtool'. In order to fix this, it's enough to call sh_eth_dev_init()
with 'true' instead of 'false' for the second argument (which conveniently
allows us to remove the following code re-enabling E-DMAC interrupts and
reception).

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