]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: pcs: rtl93xx: handle XSGMII autoneg
authorJonas Jelonek <jelonek.jonas@gmail.com>
Mon, 26 Jan 2026 23:20:26 +0000 (23:20 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 4 Feb 2026 00:08:25 +0000 (01:08 +0100)
commit0d2d9ecb7fac92c9afffeefbb8e673622eb83d38
treebf78918a3ef57301999505d8ebb68040e2a89ae4
parentfb2388837690826f019fdb7870730c1530820df0
realtek: pcs: rtl93xx: handle XSGMII autoneg

The XSGMII mode is special in several regards. The inband
autonegotiation for this mode is called 'XSG N-way'. It is controlled
using different bits and location, and using XSG operations.

Add support for this by enhancing the set_autoneg implementation shared
by RTL930x and RTL931x. This can stay shared since it works the same for
both variants.

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21762
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/realtek/files-6.12/drivers/net/pcs/pcs-rtl-otto.c