ramips: mt7620: ethernet: use more macros and bump version
authorMichael Pratt <[email protected]>
Sat, 1 May 2021 18:47:01 +0000 (14:47 -0400)
committerChuanhong Guo <[email protected]>
Wed, 23 Jun 2021 06:22:19 +0000 (14:22 +0800)
commit88a0cebadfecb6ebb9f5f535e74f7f7574f513f3
tree8e6e76e68dddb018129588161c2141f774afa41a
parent26c84b2e46caba1ae17bc82a533c99eee65e7004
ramips: mt7620: ethernet: use more macros and bump version

Define and use some missing macros,
and use them instead of BIT() or numbers for more readable code.

Add comment for a bit change that seems unrelated to ethernet
but is actually needed (PCIe Root Complex mode).

Remove unknown and unused macro RST_CTRL_MCM
(probably from MT7621 / MT7622)

This is the last of a series of fixes, so bump version.

Signed-off-by: Michael Pratt <[email protected]>
target/linux/ramips/files/drivers/net/ethernet/ralink/gsw_mt7620.c
target/linux/ramips/files/drivers/net/ethernet/ralink/gsw_mt7620.h
target/linux/ramips/files/drivers/net/ethernet/ralink/mtk_eth_soc.h
target/linux/ramips/files/drivers/net/ethernet/ralink/soc_mt7620.c