openwrt/target/linux/realtek
Birger Koblitz d1b824650f realtek: do not reset SerDes on link change
Do not reset the RTL930x SerDes on link changes, instead set up
the SDS with internal PHYs for the SFP+ ports only.
This fixes the 8 1GBit ports on the Zyxel XGS1250 which
do not work without this patch.

A complete SerDes reset was performed on all SerDes links. For copper
1Gbit ports, this is commonly a single XGMII link to an RTL8218D. There
is however no support for setting up the XGMII link on RTL9300/RTL9310,
thereby wiping the (RX/TX) setup done by u-boot and breaking the 1GBit
ports. No SerDes reset should be done for these links.

The handling of SGMII/HiSGMII, 1000BX or 10GR links is actually entirely
different. All these modes need to be suitably RX calibrated and the
pre- main and post- amplifiers set up properly for TX.

The 10GBit SFP+ fiber links are recalibrated instead of reset, which
e.g. is necessary when someone pulls a module out and puts another in.
This makes swapping out 10GBit fiber modules possible. 1GBit modules are
not yet supported, nor any modules with an internal phy.

Tested-by: Stijn Segers <foss@volatilesystems.org>
Signed-off-by: Birger Koblitz <git@birger-koblitz.de>
[rewrite commit message based on discussion]
Link: http://lists.infradead.org/pipermail/openwrt-devel/2022-May/038623.html
Signed-off-by: Sander Vanheule <sander@svanheule.net>
2022-05-11 22:23:50 +02:00
..
base-files realtek: add ZyXEL GS1900-24HP v1 support 2022-04-16 17:26:56 +02:00
dts-5.10 realtek: add support for ZyXEL GS1900-16 2022-05-07 17:23:45 +02:00
files/firmware/rtl838x_phy realtek: update the tree to the latest refactored version 2020-11-26 13:29:27 +01:00
files-5.10 realtek: do not reset SerDes on link change 2022-05-11 22:23:50 +02:00
image realtek: add support for ZyXEL GS1900-16 2022-05-07 17:23:45 +02:00
patches-5.10 kernel: bump 5.10 to 5.10.106 2022-03-19 16:13:58 +01:00
profiles target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
rtl838x realtek: enable pca953x driver for rtl838x subtarget 2022-03-13 19:54:57 +01:00
rtl839x realtek: Remove RTL838X PHY firmware from RTL839X kernel 2022-02-17 15:21:47 +00:00
rtl930x realtek: Add RTL930X sub-target 2022-02-17 15:21:47 +00:00
rtl931x realtek: Add RTL931X sub-target 2022-02-17 15:21:47 +00:00
Makefile realtek: Fix tc default package 2022-03-29 13:43:01 +02:00