diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2018-01-13 20:22:01 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-15 14:50:46 -0500 |
commit | 17d0fb0caa68f2bfd8aaa8125ff15abebfbfa1d7 (patch) | |
tree | 38ea61391f1e48406a8f255697d461120061740d /net/core | |
parent | 95a332088ecb113c2e8753fa3f1df9b0dda9beec (diff) | |
download | linux-17d0fb0caa68f2bfd8aaa8125ff15abebfbfa1d7.tar.bz2 |
sh_eth: fix dumping ARSTR
ARSTR is always located at the start of the TSU register region, thus
using add_reg() instead of add_tsu_reg() in __sh_eth_get_regs() to dump it
causes EDMR or EDSR (depending on the register layout) to be dumped instead
of ARSTR. Use the correct condition/macro there...
Fixes: 6b4b4fead342 ("sh_eth: Implement ethtool register dump operations")
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions