openwrt-pf/target/linux
Markus Stockhausen d8ca43ccf1 realtek: harmonize power functions for RTL8214FC
There are currently two power functions for the RTL8214FC in the driver

- rtl8380_rtl8214fc_on_off(): powers on/off both ports
- rtl8214fc_power_set(): powers on/off fibre or copper individually

While it seems obvious to merge these, one of them uses extended register
29 and the other register 30 to achieve the update. From looking at the
GPL source drops both methods exist with exactly the same operations. So
where to go from here? The descision was made based on:

- register 30 is only used during patching, 29 during normal operation
- Avoid raw page if possible to use function for RTL839x

So the attached patch was created. The result in the power down bits
was compared for the two old and the new implementation. Result is
always the same.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/18707
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-05-22 10:34:18 +02:00
..
airoha kernel: bump 6.6 to 6.6.89 2025-05-03 19:57:53 +02:00
apm821xx apm821xx: replace kmod-usb3 with kmod-usb-xhci-pci-renesas 2025-05-17 20:14:27 +02:00
archs38
armsr
at91 treewide: strip trailing whitespace 2025-05-20 00:47:37 +02:00
ath79 treewide: strip trailing whitespace 2025-05-20 00:47:37 +02:00
bcm27xx bcm27xx: refresh patches for v6.12.29 2025-05-21 17:20:07 +02:00
bcm47xx treewide: strip trailing whitespace 2025-05-20 00:47:37 +02:00
bcm53xx kernel: bump 6.6 to 6.6.90 2025-05-13 21:43:34 +02:00
bcm4908
bmips treewide: strip trailing whitespace 2025-05-20 00:47:37 +02:00
d1
gemini
generic kernel: bump 6.12 to 6.12.29 2025-05-21 13:52:35 +02:00
imx kernel: bump 6.6 to 6.6.90 2025-05-13 21:43:34 +02:00
ipq40xx treewide: strip trailing whitespace 2025-05-20 00:47:37 +02:00
ipq806x treewide: strip trailing whitespace 2025-05-20 00:47:37 +02:00
ixp4xx
kirkwood treewide: dts: trim "#size-cells" from "gpio-export" node 2025-05-18 19:35:00 +02:00
lantiq treewide: strip trailing whitespace 2025-05-20 00:47:37 +02:00
layerscape
loongarch64
malta
mediatek treewide: strip trailing whitespace 2025-05-20 00:47:37 +02:00
mpc85xx treewide: strip trailing whitespace 2025-05-20 00:47:37 +02:00
mvebu mvebu: armada37xx: add pending PXA I2C recovery fix 2025-05-20 20:54:48 +02:00
mxs
octeon
omap
pistachio
qoriq
qualcommax qualcommax: default to 6.12 2025-05-20 11:40:43 +02:00
qualcommbe qualcommbe: ipq95xx: fix ipq-uniphy crash on IPQ9554 2025-05-12 15:06:24 +02:00
ramips ramips: mt7621: fix broken hexdump expression in iodata.sh 2025-05-20 13:04:06 +02:00
realtek realtek: harmonize power functions for RTL8214FC 2025-05-22 10:34:18 +02:00
rockchip rockchip: backport PCIe MSI fixes for RK356x SoC 2025-05-17 11:30:20 +02:00
sifiveu
siflower treewide: strip trailing whitespace 2025-05-20 00:47:37 +02:00
starfive kernel: bump 6.6 to 6.6.90 2025-05-13 21:43:34 +02:00
stm32
sunxi
tegra
uml
x86 kernel: bump 6.12 to 6.12.29 2025-05-21 13:52:35 +02:00
zynq
Makefile