openwrt/target/linux/realtek/files-5.10/drivers
Olliver Schinagl 59542c9ac9 realtek: Fix rtl930x speed status accessor
The rtl930x speed status registers require 4 bits to indicate the speed
status. As such, we want to divide by 8. To make things consistent with
the rest of this code, use a bitshift however.

This bug probably won't affect many users yet, as there aren't many
rtl930x switches in the wild yet with more then 10 ports, and thus a
low-impact bugfix.

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
[also fix port field extraction]
Signed-off-by: Sander Vanheule <sander@svanheule.net>
2022-12-01 22:11:06 +01:00
..
clk/realtek realtek: fix PLL register inconsistencies 2022-08-31 23:25:39 +02:00
clocksource realtek: mark clock source as continuous 2022-11-01 09:13:11 +01:00
gpio realtek: separate lock of RTL8231 from phy driver 2022-10-08 11:05:02 +02:00
i2c realtek: Add support for RTL9300/RTL9310 I2C multiplexing 2022-02-17 15:21:46 +00:00
net realtek: Fix rtl930x speed status accessor 2022-12-01 22:11:06 +01:00