commit | 3249b1e442a1be1a6b9f1026785b519d1443f807 | [log] [tgz] |
---|---|---|
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | Wed Jan 08 23:42:42 2020 +0300 |
committer | David S. Miller <davem@davemloft.net> | Thu Jan 09 18:35:41 2020 -0800 |
tree | eef975dc80211ac2afd3cfda8ca39652ea18fdbc | |
parent | e69ec487b2c7c82ef99b4b15122f58a2a99289a3 [diff] |
sh_eth: check sh_eth_cpu_data::dual_port when dumping registers When adding the sh_eth_cpu_data::dual_port flag I forgot to add the flag checks to __sh_eth_get_regs(), causing the non-existing TSU registers to be dumped by 'ethtool' on the single port Ether controllers having TSU... Fixes: a94cf2a614f8 ("sh_eth: fix TSU init on SH7734/R8A7740") Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: David S. Miller <davem@davemloft.net>