]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: eth: convert rx/tx enable bits to config value 21999/head
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Thu, 12 Feb 2026 18:07:36 +0000 (19:07 +0100)
committerRobert Marko <robimarko@gmail.com>
Thu, 19 Feb 2026 09:47:55 +0000 (10:47 +0100)
commit89655c0825d2cc78f8c6aa687662e7062ba9a1f2
treea4c367b0d7203bed31d306e191f3eb4281728504
parent626d3599757103a6043bde37a23dea003b98eac3
realtek: eth: convert rx/tx enable bits to config value

This allows to drop a family condition check and in the future
allows to merge nowadays splitted functions. While we are here
replace a hardcoded 0xc value with the new value for better
readability.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/21999
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/files-6.12/drivers/net/ethernet/rtl838x_eth.c
target/linux/realtek/files-6.12/drivers/net/ethernet/rtl838x_eth.h