mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-14 23:09:45 +01:00
The configuration code for RTL930X already provides setting the SerDes TX and RX PN polarity. This is covered by a function called '..._sds_mac_link_config'. But despite its name, this function only sets the SerDes polarity and nothing more. Moreover, this was called always with 'not inverted' in the SerDes setup code and thus not really allowing to be configured. At first, streamline the SerDes polarity configuration code. Rename the function to reflect what it actually does instead of giving the impression of doing more. Improve the implementation of this for better readability. As the implementation, page, register, bits, etc. are exactly the same for both RTL930X and RTL931X (compare [1] and [2]), move and name it accordingly so we can also add support for RTL931X. [1] |
||
|---|---|---|
| .. | ||
| imagebuilder | ||
| linux | ||
| llvm-bpf | ||
| sdk | ||
| toolchain | ||
| Config.in | ||
| Makefile | ||