openwrt/target/linux
Markus Stockhausen f617d3e594 realtek: eth: define interrupt status/mask base
Regardless of the number of receive queues (8 or 32) the interrupt
status and mask registers are built up bitwise in the same way:

- 8/32 rx run out interrupts
- 8/32 rx done interrupts
- 2 tx tone interrupts
- 2 tx all done interrupts
- 3 L2 notify interrupts (only RTL839x)

So one can always derive the bit position of those fields by using
the device specific rx_rings configuration setting. To simplify the
code these registers will be handled by central helpers in the future.
In a first step provide a interrupt base register definition that
points to the first interrupt type - aka the rx run out interrupts.

To not overcomplicate things simply reuse the existing DMA_IF_INTR_MSK
and DMA_IF_INTR_STS naming convention. Until all gets fixed the
runout registers on RTL93xx will be accessible by that name.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/21893
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-02-13 23:28:54 +01:00
..
airoha airoha: fix EN7581 PCIe initialization and add x2 link support 2026-02-13 12:08:56 +01:00
apm821xx Revert "apm821xx: rename pciex to pcie" 2026-02-10 14:54:23 +01:00
armsr
at91
ath79 kernel: bump 6.12 to 6.12.69 2026-02-07 17:20:33 +01:00
bcm27xx kernel: bump 6.12 to 6.12.69 2026-02-07 17:20:33 +01:00
bcm47xx
bcm53xx
bcm4908
bmips
d1
econet kernel: bump 6.12 to 6.12.69 2026-02-07 17:20:33 +01:00
gemini gemini: add support for Raidsonic IB-4210-B 2026-02-13 10:41:03 +01:00
generic kernel: pse-pd: Fix missing regulator backport 2026-02-13 21:14:45 +01:00
imx
ipq40xx kernel: backport pppoe improvements 2026-02-11 00:05:55 +01:00
ipq806x treewide: remove of_platform.h include 2026-02-04 00:50:06 +01:00
ixp4xx
kirkwood
lantiq lantiq: xrx200: handle EPROBE_DEFER for MAC address 2026-02-07 15:27:11 +01:00
layerscape
loongarch64
malta malta: convert to Device macro image building 2026-02-11 00:08:34 +01:00
mediatek mediatek: add support for netis NX32U 2026-02-12 23:02:05 +01:00
microchipsw
mpc85xx
mvebu mvebu: add depends for Turris MOX boards 2026-02-12 22:23:29 +01:00
mxs
octeon
omap
pistachio
qoriq
qualcommax qualcommax: ipq807x: add Zyxel NWA110AX support 2026-02-13 21:35:49 +01:00
qualcommbe qualcommbe: ipq95xx: require image metadata for sysupgrade checks 2026-02-13 21:42:09 +01:00
ramips ramips: mt7621: enable kmod-usb3 for Mikrotik RBM33G 2026-02-09 16:04:48 +02:00
realtek realtek: eth: define interrupt status/mask base 2026-02-13 23:28:54 +01:00
rockchip kernel: bump 6.12 to 6.12.69 2026-02-07 17:20:33 +01:00
sifiveu
siflower treewide: remove of_platform.h include 2026-02-04 00:50:06 +01:00
starfive
stm32
sunxi
tegra
uml
x86 x86: base-files add support for Sophos 210r3 and 230r2 2026-02-12 23:55:29 +01:00
zynq
Makefile