openwrt/target
Markus Stockhausen 28165ed3d4 realtek: eth: make hw_en_rxtx() a config member
Due to the last refactorings it has become clear that the following
code is wrong.

static void rteth_tx_timeout()
{
  ...
  rteth_838x_hw_en_rxtx(ctrl);

A generic function must not call a device specific function directly.
Make hw_en_rxtx() a config member and call that instead of the
functions directly.

With this change another optimization can take place. hw_init()
currently calls device specific hw_en_rxtx() functions at the start
of the function. This is wrong. Initialize the hardware first before
activating the network rx/tx. Take out the multiple calls and place
the rx/tx setup just before the hw_init() call.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/22421
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-03-25 10:26:44 +01:00
..
imagebuilder toolchain: sdk: ib: allow external toolchain override 2026-02-20 22:54:26 +01:00
linux realtek: eth: make hw_en_rxtx() a config member 2026-03-25 10:26:44 +01:00
llvm-bpf
sdk sdk: use TOOLCHAIN_DIR_NAME for STAGING_SUBDIR_TOOLCHAIN 2026-03-10 13:34:31 +01:00
toolchain
Config.in targets: add REGULATOR_SUPPORT auto-feature 2026-03-01 10:59:19 +01:00
Makefile