Files
linux/drivers/net
Sergei Shtylyov fd0d69bb32 sh_eth: check sh_eth_cpu_data::dual_port when dumping registers
commit 3249b1e442 upstream.

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: a94cf2a614 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-01-23 08:21:36 +01:00
..
2019-10-05 13:09:29 +02:00
2019-09-10 10:33:48 +01:00
2018-05-28 23:02:22 -04:00
2019-05-25 18:23:19 +02:00
2019-12-31 16:36:03 +01:00
2018-09-16 15:33:50 -07:00
2020-01-12 12:17:27 +01:00