Files
linux/drivers
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
..
2020-01-09 10:19:01 +01:00
2019-12-31 16:35:58 +01:00
2019-05-14 19:17:53 +02:00
2020-01-23 08:21:34 +01:00
2019-12-05 09:21:29 +01:00
2019-07-26 09:14:05 +02:00
2018-12-21 14:15:17 +01:00
2020-01-23 08:21:28 +01:00
2018-11-13 11:08:51 -08:00
2019-12-17 20:35:17 +01:00