openwrt/target/linux/realtek
Markus Stockhausen 0008b4ed07
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
realtek: RTL838x: remove artifical mdio delays
For some reason 3 of the 4 mdio access functions contain an
artifical delay of 10ms. While it might have been part of
older Realtek SDKs it can no longer be found in current ones.
Remove the delays.

While we are here remove the pre-access bus ready checks.
It is sufficient to run them after the command start. If
anything fails the caller will get an error. This is the
same behaviour as for the other targets.

Finally cleanup the error handling. Something like this makes
no sense at all.

  err = rtmdio_838x_smi_wait_op(100000);
  if (err)
    goto errout;
  err = 0;
errout:

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/19901
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-09-01 10:48:09 +02:00
..
base-files realtek: rtl930x: Add support for Plasma Cloud PSX10 Switch 2025-08-28 21:07:57 +02:00
dts realtek: correct whitespace in hp dts files 2025-08-31 13:19:50 +02:00
files/firmware/rtl838x_phy
files-6.12 realtek: RTL838x: remove artifical mdio delays 2025-09-01 10:48:09 +02:00
image realtek: rtl930x: Add support for Plasma Cloud PSX10 Switch 2025-08-28 21:07:57 +02:00
patches-6.12 realtek: rtl8231-aux: add RTL931x support 2025-08-17 17:31:22 +02:00
profiles target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
rtl838x realtek: backport NAND driver for RTL93xx 2025-07-30 23:22:24 +02:00
rtl839x realtek: backport NAND driver for RTL93xx 2025-07-30 23:22:24 +02:00
rtl930x realtek: rtl930x: Enable parsing of u-boot nvmem layouts 2025-08-28 21:07:57 +02:00
rtl930x_nand realtek: add NAND targets for RTL93xx 2025-08-10 11:46:52 +02:00
rtl931x realtek: add RTL8231 driver configuration to kernel build 2025-08-17 17:31:24 +02:00
rtl931x_nand realtek: add RTL8231 driver configuration to kernel build 2025-08-17 17:31:24 +02:00
Makefile realtek: add NAND targets for RTL93xx 2025-08-10 11:46:52 +02:00