realtek: Improve MAC config handling for all SoCs
authorBirger Koblitz <git@birger-koblitz.de>
Mon, 17 Jan 2022 12:19:13 +0000 (13:19 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 17 Feb 2022 15:21:47 +0000 (15:21 +0000)
commit51c8f766124487f6e84076c272645e5f29d32f5e
tree7d99a2abd696502610b92c6287567ba9da21140b
parentc7cc4e95a52a5b9173d041b308e5a5dbfc9a1a5d
realtek: Improve MAC config handling for all SoCs

Adds a rtl931x_phylink_mac_config for the RTL931X and improve
the handling of the RTL930X phylink configuration. Add separate
handling of the RTL839x since some configurations are different
from the RTL838X.

Signed-off-by: Birger Koblitz <git@birger-koblitz.de>
target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/dsa.c
target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/rtl838x.h
target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/rtl83xx.h