openwrt-6.x/target/linux/realtek
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
..
base-files realtek: Split Zyxel GS1900-8 into v1 and v2 2025-01-25 15:07:13 +01:00
dts realtek: fix cpu port link type 2025-05-06 10:56:58 +02:00
files/firmware/rtl838x_phy
files-6.6 realtek: harmonize power functions for RTL8214FC 2025-05-22 10:34:18 +02:00
image realtek: add support for D-Link DGS-1210-26 2025-04-07 12:22:00 +02:00
patches-6.6 kernel: bump 6.6 to 6.6.88 2025-05-03 19:57:53 +02:00
profiles
rtl838x realtek: add missing symbol 2025-05-03 23:23:10 +03:00
rtl839x realtek: add missing symbol 2025-05-03 23:23:10 +03:00
rtl930x realtek: add missing symbol 2025-05-03 23:23:10 +03:00
rtl931x realtek rtl931x: mark subtarget as source-only 2025-05-09 16:38:19 +02:00
Makefile realtek: trim default package selection 2025-01-04 20:35:48 +01:00