]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9429444a3a5b5d10e4621c9749b6d49d263639ac
treef7cc2b5fdda63e9a82f2a72442f31c30e54f50bd
parentcf878dfb341e105a5e1f6a9c79937ad1fb5fe41e
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: 13e2d7607cda ("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