openwrt/target/linux/generic
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
..
backport-6.12 kernel: QCOM SPI NAND: backport multiple fixes 2026-01-04 16:41:30 +01:00
files treewide: replace remove_new with remove 2026-01-03 17:27:25 +01:00
hack-6.12 kernel: QCOM SPI NAND: backport multiple fixes 2026-01-04 16:41:30 +01:00
image treewide: strip trailing whitespace 2025-05-20 00:47:37 +02:00
other-files initramfs: switch to tmpfs to fix ujail 2020-11-27 01:23:43 +00:00
pending-6.12 kernel: net: phy: realtek: replace in-band AN hack 2026-01-07 01:30:26 +00:00
config-6.12 kernel: add kernel module sun6i_csi and ov5640 2026-01-03 01:11:09 +01:00
config-filter generic: config-filter: filter out CONFIG_PAHOLE_HAS_LANG_EXCLUDE 2025-05-14 11:28:01 +02:00
kernel-6.12 kernel: bump 6.12 to 6.12.63 2025-12-31 17:55:44 +01:00
PATCHES.md generic: improve patches documentation 2025-06-11 15:09:46 +02:00