forked from mirror/openwrt
Comparing our calibration check with the one in the SDK ([1]), one can see some discrepancies for which there are no apparent reasons. SGMII and 1000Base-X are handled equal to XSGMII although they aren't in the SDK and have different symbol error registers. USXGMII and 10GBase-R are fine, but other modes are explicitly handled with failure then. Restructure this by keeping XSGMII alone with its dedicated check (as the SDK does) and handle all other modes differently. Though the SDK just skips symbol error check for modes like SGMII, 1000Base-X, 2500Base-X, it was found to be ok to perform a simple check for them too. Since we have also a default case in the symbol error read implementation now, we can cover all other modes with default case here too. As a side-effect, this removes the confusing and probably wrong failure stating calibration has failed although just the checks were insufficient. Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com> Link: https://github.com/openwrt/openwrt/pull/22450 Signed-off-by: Robert Marko <robimarko@gmail.com> |
||
|---|---|---|
| .. | ||
| imagebuilder | ||
| linux | ||
| llvm-bpf | ||
| sdk | ||
| toolchain | ||
| Config.in | ||
| Makefile | ||