Right now the phylink capability function enables 2.5G and 10G modes on Maple and Cypress, which they mostly (other than two SERDES on Cypress) don't support. This causes these modes to be selected and break the link as they are not supported by hardware. I looked into doing this properly, but it cannot just be done based on SoC, but needs to take the whole topology into account as a given MAC might have very different capabilities depending on what SERDES are assigned to it. So for now just use 1G and QSGMII for RTL83xx and 10G for RTL93xx. This mostly works, except it will downgrade some 10G links on RTL839x, but since there are also 1G SFPs on these this cannot be solved without fully accounting for the global MAC and SERDES configuration. So this makes all of the 1G SFP slots work again, while keeping most of the 10G SFP+ slots working at 10G with minimal changes. Signed-off-by: Lorenz Brun <lorenz@brun.one> Link: https://github.com/openwrt/openwrt/pull/20374 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> |
||
|---|---|---|
| .. | ||
| imagebuilder | ||
| linux | ||
| llvm-bpf | ||
| sdk | ||
| toolchain | ||
| Config.in | ||
| Makefile | ||