summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>2020-01-08 23:42:42 +0300
committerDavid S. Miller <davem@davemloft.net>2020-01-09 18:35:41 -0800
commit3249b1e442a1be1a6b9f1026785b519d1443f807 (patch)
treeeef975dc80211ac2afd3cfda8ca39652ea18fdbc /lib
parente69ec487b2c7c82ef99b4b15122f58a2a99289a3 (diff)
downloadlinux-3249b1e442a1be1a6b9f1026785b519d1443f807.tar.gz
linux-3249b1e442a1be1a6b9f1026785b519d1443f807.tar.bz2
linux-3249b1e442a1be1a6b9f1026785b519d1443f807.zip
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 'lib')
0 files changed, 0 insertions, 0 deletions