openwrt/target/linux
Markus Stockhausen 39e2af7ed6 realtek: eth: remove redundant RTL93xx ring setup
RTL93xx sets up the ring counters twice. One location is
inside rteth_93xx_hw_en_rxtx() and the other one is inside
rteth_93xx_hw_reset(). There are slight differences (e.g.
the ring size that is set or how the counters are cleared).
It is currently unclear where to place it best. For now
align this to RTL83xx and remove the coding from function
rteth_93xx_hw_en_rxtx(). Provide a complete & proper setup
in rteth_93xx_hw_reset().

Looking at the different old implementations one can see
that one initialized the ring counters with offset "-2".
This headroom is not needed. The old comment " Some SoCs
have issues with missing underflow protection" was only
regarding the way the counters are being resetted and not
how large they are setup.

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
..
airoha airoha: backport additional rework in preparation for multi-serdes support 2026-03-24 19:35:02 +01:00
apm821xx Revert "apm821xx: rename pciex to pcie" 2026-02-10 14:54:23 +01:00
armsr kernel: lift CONFIG_REGULATOR_VEXPRESS 'not set' to generic 2026-02-28 10:12:15 +01:00
at91 kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
ath79 ath79: fix initramfs boot for Huawei AP5030DN and AP6010DN 2026-03-24 22:21:56 +01:00
bcm27xx kernel: bump 6.12 to 6.12.77 2026-03-22 12:00:31 +01:00
bcm47xx kernel: bump 6.12 to 6.12.64 2026-01-15 01:22:47 +01:00
bcm53xx bcm53xx: mr26: fix nvmem MAC override 2026-03-11 12:13:14 +01:00
bcm4908 kernel: disable non layout u-boot,env 2025-11-28 01:20:33 +01:00
bmips Revert "bmips: huawei-hg556a-c: use nvmem for wifi eeprom" 2026-02-20 23:01:29 +01:00
d1 d1: Enable LED driver for D1 builds 2026-01-23 10:35:36 +01:00
econet kernel: bump 6.12 to 6.12.77 2026-03-22 12:00:31 +01:00
gemini gemini: add support for Teltonika RUT104 2026-02-17 11:27:22 +01:00
generic kernel: backport crypto selftests for some ciphersuites 2026-03-24 01:33:48 +01:00
imx imx: cortexa53: remove KSZ9477 static driver 2026-03-13 19:59:59 +01:00
ipq40xx kernel: bump 6.12 to 6.12.75 2026-03-22 12:00:31 +01:00
ipq806x ipq806x: ap3935: fix uboot nvmem 2026-03-10 13:38:33 +01:00
ixp4xx ixp4xx: select the GPIO keys input package 2026-01-28 18:59:47 +01:00
kirkwood kernel: bump 6.12 to 6.12.75 2026-03-22 12:00:31 +01:00
lantiq lantiq: xrx200: autoload lantiq_gswip and tag_gswip to fix failsafe mode 2026-03-22 22:35:37 +01:00
layerscape kernel: bump 6.12 to 6.12.71 2026-02-14 18:30:02 +01:00
loongarch64 loongarch64: set PREEMPT_NONE as default preemption model 2026-01-24 22:54:29 +01:00
malta malta: convert to Device macro image building 2026-02-11 00:08:34 +01:00
mediatek kernel: bump 6.12 to 6.12.77 2026-03-22 12:00:31 +01:00
microchipsw microchipsw: add MTU change support 2026-03-24 18:42:52 +01:00
mpc85xx mpc85xx: remove swconfig package 2026-03-21 22:34:27 +01:00
mvebu kernel: bump 6.12 to 6.12.75 2026-03-22 12:00:31 +01:00
mxs kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
octeon kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
omap kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
pistachio kernel: bump 6.12 to 6.12.75 2026-03-22 12:00:31 +01:00
qoriq package: uboot-qoriq: fix T4240RDB u-boot selection 2026-01-12 13:59:30 +01:00
qualcommax kernel: bump 6.12 to 6.12.75 2026-03-22 12:00:31 +01:00
qualcommbe kernel: bump 6.12 to 6.12.75 2026-03-22 12:00:31 +01:00
ramips ramips-mt7621: fix xiaomi mi ac2100 mac address 2026-03-24 22:19:11 +01:00
realtek realtek: eth: remove redundant RTL93xx ring setup 2026-03-25 10:26:44 +01:00
rockchip kernel: bump 6.12 to 6.12.75 2026-03-22 12:00:31 +01:00
sifiveu kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
siflower kernel: bump 6.12 to 6.12.75 2026-03-22 12:00:31 +01:00
starfive starfive: visionfive2: add CMA entry into board DTS 2026-03-22 12:42:33 +01:00
stm32 kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
sunxi sunxi: add PineCube support 2026-03-21 16:43:47 +01:00
tegra kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
uml kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
x86 x86: base-files add support for Sophos 210r3 and 230r2 2026-02-12 23:55:29 +01:00
zynq kernel: lift CONFIG_REGULATOR_VEXPRESS 'not set' to generic 2026-02-28 10:12:15 +01:00
Makefile linux: fix missing default packages in profiles.json 2024-11-17 19:29:06 +01:00