openwrt/target/linux
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
..
apm821xx apm821xx: add support for kernel 5.15 for testing 2022-05-07 16:27:27 +02:00
archs38 kernel: delete Linux 5.4 config and patches 2022-03-21 11:36:30 +00:00
armvirt armvirt: 64: enable driver for QEMU' supported watchdog 2022-05-07 14:31:21 +02:00
at91 kernel: bump 5.10 to 5.10.113 2022-04-30 21:27:45 +02:00
ath25 generic: 5.15: rework hack patch 2022-03-27 00:07:34 +00:00
ath79 kernel: bump 5.15 to 5.15.38 2022-05-09 20:49:50 +01:00
bcm27xx kernel: bump 5.10 to 5.10.113 2022-04-30 21:27:45 +02:00
bcm47xx kernel: delete Linux 5.4 config and patches 2022-03-21 11:36:30 +00:00
bcm53xx packages: nvram: add NVRAM quirks for bcm53xx target 2022-05-04 21:51:20 +02:00
bcm63xx bcm63xx: fix description fix name case 2022-04-23 20:46:25 +02:00
bcm4908 kernel: delete Linux 5.4 config and patches 2022-03-21 11:36:30 +00:00
bmips kernel: 5.10: consolidate mac80211 crypto options 2021-12-17 16:16:34 +01:00
gemini gemini: Bump kernel to v5.15 2022-04-14 10:12:34 +02:00
generic kernel: bump 5.15 to 5.15.38 2022-05-09 20:49:50 +01:00
imx kernel: bump 5.15 to 5.15.32 2022-04-09 19:31:46 +02:00
ipq40xx kernel: bump 5.15 to 5.15.36 2022-05-09 20:49:50 +01:00
ipq806x kernel: bump 5.15 to 5.15.38 2022-05-09 20:49:50 +01:00
kirkwood kirkwood: set testing kernel version to 5.15 2022-05-01 13:40:13 +09:00
lantiq lantiq: fritz736x: Move GPIO resets to the inidvidual board.dts files 2022-04-16 14:02:11 +02:00
layerscape layerscape: image: drop redundant parameter from kernel build recipe 2022-04-01 14:32:54 +02:00
malta malta: add config-5.15 2022-04-13 19:50:50 +01:00
mediatek kernel: bump 5.15 to 5.15.38 2022-05-09 20:49:50 +01:00
mpc85xx mpc85xx: Fix output location of padded dtb 2022-04-30 23:56:47 +02:00
mvebu mvebu: make boot filesystem reproducible 2022-03-28 20:52:49 +01:00
mxs kernel: move some symbols to generic config 2022-04-09 19:31:46 +02:00
octeon kernel: move some symbols to generic config 2022-04-09 19:31:46 +02:00
octeontx kernel: bump 5.10 to 5.10.110 2022-04-09 19:31:46 +02:00
omap kernel: delete Linux 5.4 config and patches 2022-03-21 11:36:30 +00:00
oxnas kernel: bump 5.10 to 5.10.112 2022-04-23 20:46:25 +02:00
pistachio kernel: bump 5.10 to 5.10.95 2022-02-01 23:34:07 +00:00
qoriq qoriq: enable support for Marvell Alaska PHYs 2022-04-03 22:41:05 +03:00
ramips kernel: bump 5.15 to 5.15.36 2022-05-09 20:49:50 +01:00
realtek realtek: do not reset SerDes on link change 2022-05-11 22:23:50 +02:00
rockchip kernel: include CONFIG_KEXEC_SIG in configs 2022-03-15 08:33:45 +01:00
sunxi kernel: move some symbols to generic config 2022-04-09 19:31:46 +02:00
tegra kernel: delete Linux 5.4 config and patches 2022-03-21 11:36:30 +00:00
uml uml: make use of 'rootfs-part' feature 2022-01-23 19:48:31 +00:00
x86 kernel/x86: move x86' specific watchdogs to the x86 target 2022-05-07 14:31:22 +02:00
zynq kernel: delete Linux 5.4 config and patches 2022-03-21 11:36:30 +00:00
Makefile target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00