summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mediatek/mtk_eth_soc.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2022-11-16 09:07:31 +0100
committerJakub Kicinski <kuba@kernel.org>2022-11-18 19:46:06 -0800
commit71ba8e4891c799f9f79ea219f155ac795750af41 (patch)
tree20693a760117b8060fa40ab1e3927b656f414028 /drivers/net/ethernet/mediatek/mtk_eth_soc.h
parentf4b2fa2c25e1ade78f766aa82e733a0b5198d484 (diff)
net: ethernet: mtk_eth_soc: avoid port_mg assignment on MT7622 and newer
On newer chips, this field is unused and contains some bits related to queue assignment. Initialize it to 0 in those cases. Fix offload_version on MT7621 and MT7623, which still need the previous value. Signed-off-by: Felix Fietkau <nbd@nbd.name> Link: https://lore.kernel.org/r/20221116080734.44013-4-nbd@nbd.name Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/mediatek/mtk_eth_soc.h')
0 files changed, 0 insertions, 0 deletions