commit | 4c1d45850d5327049bce461743179b46adc33f9e | [log] [tgz] |
---|---|---|
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | Sat Mar 24 23:12:54 2018 +0300 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 26 12:34:19 2018 -0400 |
tree | d1363e1becdcec491f253caf540296516b3cef09 | |
parent | ce9134dff6d90c9f9c6bfd3d32dffdadf8a8e668 [diff] |
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>