diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2020-01-08 23:42:42 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-01-09 18:35:41 -0800 |
commit | 3249b1e442a1be1a6b9f1026785b519d1443f807 (patch) | |
tree | eef975dc80211ac2afd3cfda8ca39652ea18fdbc /net/x25 | |
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>
Diffstat (limited to 'net/x25')
0 files changed, 0 insertions, 0 deletions