sh_eth: add sh_eth_cpu_data::cexcr flag
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sat, 24 Mar 2018 20:12:54 +0000 (23:12 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Mar 2018 16:34:19 +0000 (12:34 -0400)
commit4c1d45850d5327049bce461743179b46adc33f9e
treed1363e1becdcec491f253caf540296516b3cef09
parentce9134dff6d90c9f9c6bfd3d32dffdadf8a8e668
sh_eth: add sh_eth_cpu_data::cexcr flag

GEther controllers have CERCR/CEECR instead of CNDCR on the others.
Currently we are calling sh_eth_is_gether() in order to check for this,
however it would be simpler  to check the new 'cexcr' bitfield in the
'struct sh_eth_cpu_data';  then we'd be able to remove sh_eth_is_gether()
as there would be no callers left...

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
drivers/net/ethernet/renesas/sh_eth.h