openwrt/target/linux/realtek/files-5.15/drivers/net/dsa/rtl83xx
Peter Körner 3fff625542
rtl93xx: fix condition intended to only select internal serdes ports
This condition was introduced in commit 51c8f76612 ("realtek: Improve
MAC config handling for all SoCs") to correctly report the speed of the
internal serdes ports as 10G, but instead makes all ports read 10G
because the or-operator should have been an and-operator.

Fixes: #9953
Fixes: 51c8f76612 ("realtek: Improve MAC config handling for all SoCs")
Signed-off-by: Peter Körner <git@mazdermind.de>
[ wrap comment to 72 column and improve commit ref ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit 9fb5082e25)
2023-10-03 19:02:09 +02:00
..
common.c realtek: Add missing headers 2023-06-12 22:10:13 +02:00
debugfs.c realtek: Reduce variable scopes 2022-12-27 16:33:15 +01:00
dsa.c rtl93xx: fix condition intended to only select internal serdes ports 2023-10-03 19:02:09 +02:00
Kconfig realtek: Whitespace and codestyle cleanup 2022-12-27 16:31:48 +01:00
Makefile realtek: copy dts/files/patches/configs for 5.15 2022-12-15 20:52:09 +01:00
qos.c realtek: 5.15: fix uninizialized variable in rtl83xx qos driver 2023-05-12 03:15:40 +02:00
rtl83xx.h realtek: Whitespace and codestyle cleanup 2022-12-27 16:31:48 +01:00
rtl838x.c realtek: Add missing headers 2023-06-12 22:10:13 +02:00
rtl838x.h realtek: remove store_mcgroups/load_mcgroups 2023-05-07 19:15:34 +02:00
rtl839x.c realtek: Add missing headers 2023-06-12 22:10:13 +02:00
rtl930x.c realtek: Add missing headers 2023-06-12 22:10:13 +02:00
rtl931x.c realtek: Add missing headers 2023-06-12 22:10:13 +02:00
tc.c realtek: Add missing headers 2023-06-12 22:10:13 +02:00