openwrt/target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx
Jan Hoffmann 81e3017609 realtek: clean up rtl838x MDIO busy wait loop
Don't use udelay to allow other kernel tasks to execute if the kernel
has been built without preemption. Also determine the timeout based on
jiffies instead of loop iterations.

This is especially important on devices containing a watchdog with a
short timeout. Without this change, the watchdog is not serviced during
PHY patching which can take multiple seconds.

Tested-by: Birger Koblitz <mail@birger-koblitz.de>
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
2022-07-28 14:08:51 +02:00
..
common.c realtek: cleanup LAG logging 2022-06-26 11:02:15 +02:00
debugfs.c realtek: Add RTL931X sub-target 2022-02-17 15:21:47 +00:00
dsa.c realtek: do not reset SerDes on link change 2022-05-11 22:23:50 +02:00
Kconfig realtek: Create 4 different Realtek Platforms 2022-02-17 15:21:47 +00:00
Makefile realtek: Add driver support for TC offloading 2021-10-09 08:25:05 +02:00
qos.c realtek: copy config/files/patches to 5.10 2021-09-26 00:32:17 +02:00
rtl83xx.h realtek: do not reset SerDes on link change 2022-05-11 22:23:50 +02:00
rtl838x.c realtek: clean up rtl838x MDIO busy wait loop 2022-07-28 14:08:51 +02:00
rtl838x.h realtek: add support for port led configuration on RTL93XX 2022-02-17 15:21:47 +00:00
rtl839x.c realtek: Copy all BPDUs to the kernel 2022-02-17 15:21:47 +00:00
rtl930x.c realtek: add support for port led configuration on RTL93XX 2022-02-17 15:21:47 +00:00
rtl931x.c realtek: implement Clause-45 MDIO write on rtl931x 2022-02-17 15:21:47 +00:00
tc.c realtek: Add driver support for TC offloading 2021-10-09 08:25:05 +02:00