1
0
Fork 0
forked from mirror/openwrt
openwrt/target/linux
Daniel Golle dfce21df96 kernel: net: phy: realtek: replace in-band AN hack
Replace downstream hack for RealTek PHYs with a more clean solution
which could make it upstream.

As SGMII in-band AN is broken on some platforms, or simply expected to
be disabled by default in phy/sgmii mode (ie. on-board PHYs with MDIO
for out-of-band configuration and status), a hack for the RealTek PHY
driver was introduced to unconditionally disable SGMII in-band
autonegotiation.

Meanwhile the kernel has gained a proper interface for PHY and PCS to
report in-band AN capabilities and enable/disable in-band, matching
PHY and PCS capabilities.

Thanks to Bevan Weiss' knowledge about how RealTek PHY SerDes registers
are being handled in RealTek's SDK this can now be greatly improved:
 - report in-band capabilties
 - let phylink set in-band matching PCS and PHY capabilities
 - properly abstracted indirect access of SerDes registers

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-01-07 01:30:26 +00:00
..
airoha airoha: an7581: correct led nodename 2026-01-05 01:00:25 +01:00
apm821xx
armsr
at91
ath79
bcm27xx
bcm47xx
bcm53xx
bcm4908
bmips
d1
econet
gemini
generic kernel: net: phy: realtek: replace in-band AN hack 2026-01-07 01:30:26 +00:00
imx
ipq40xx
ipq806x
ixp4xx ixp4xx: fix bug in Actiontec DTS file 2026-01-04 16:51:31 +01:00
kirkwood
lantiq
layerscape kernel: phylink: disable autoneg for interfaces that have no inband 2026-01-04 16:41:30 +01:00
loongarch64
malta
mediatek
microchipsw
mpc85xx
mvebu
mxs
octeon
omap
pistachio
qoriq
qualcommax kernel: QCOM SPI NAND: backport multiple fixes 2026-01-04 16:41:30 +01:00
qualcommbe
ramips kernel: phylink: disable autoneg for interfaces that have no inband 2026-01-04 16:41:30 +01:00
realtek realtek: eth: adapt prefix of ops structures 2026-01-04 19:06:26 +01:00
rockchip
sifiveu
siflower
starfive
stm32
sunxi
tegra
uml
x86
zynq
Makefile