sh_eth: TSU_QTAG0/1 registers the same as TSU_QTAGM0/1
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sat, 24 Feb 2018 17:28:16 +0000 (20:28 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Feb 2018 18:57:38 +0000 (13:57 -0500)
commit4869a1476df5ef2d09fa52acc9cfcc21b47194c5
treef7cc2b5fdda63e9a82f2a72442f31c30e54f50bd
parent3adc1c63e288c3f60b1bdee461a0b15447901bcc
sh_eth: TSU_QTAG0/1 registers the same as TSU_QTAGM0/1

The TSU_QTAG0/1 registers found in the Gigabit Ether controllers actually
have the same long name  as the TSU_QTAGM0/1 registers in the early Ether
controllers:  Qtag Addition/Deletion Set Register (Port 0/1 to 1/0); thus
there's no need to make a difference in sh_eth_tsu_init() between those
controllers. Unfortunately, we can't just remove TSU_QTAG0/1 from the
register *enum* because that would break the ethtool register dump...

Fixes: b0ca2a21f769 ("sh_eth: Add support of SH7763 to sh_eth")
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/sh_eth.c
drivers/net/ethernet/renesas/sh_eth.h