openwrt/target/linux/realtek
Markus Stockhausen 6ac2a17ebf realtek: eth: simplify mac port control access
The ethernet driver uses an indirection for access to the MAC_PORT_CTRL
register (aka. MAC_L2_PORT_CTRL on RTL93xx). It defines the base address
and adds up the cpu port offset. This is not needed as the driver does
not handle the non-cpu ports. Use direct register access instead and
avoid register confusion by always using the "_L2_" naming.

While we are here:

- Drop the functions and use defines instead
- Add CPU port defines for better readability

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/21691
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-01-27 01:22:08 +01:00
..
base-files realtek/rtl839x: Edgecore ECS4100-12PH support 2026-01-09 21:03:41 +02:00
dts realtek: mdio: derive phy smi-bus from parent node 2026-01-21 23:32:54 +01:00
files/firmware/rtl838x_phy realtek: phy: drop external RTL8218B firmware blob 2026-01-25 22:16:56 +01:00
files-6.12 realtek: eth: simplify mac port control access 2026-01-27 01:22:08 +01:00
image realtek: image: switch cameo devices from gzip to lzma 2026-01-18 11:15:10 +01:00
patches-6.12 kernel: bump 6.12 to 6.12.66 2026-01-20 01:15:32 +01:00
profiles target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
rtl838x realtek: phy: drop external RTL8218B firmware blob 2026-01-25 22:16:56 +01:00
rtl839x kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
rtl930x kernel: reorder configuration options 2026-01-26 23:57:25 +01:00
rtl930x_nand kernel: reorder configuration options 2026-01-26 23:57:25 +01:00
rtl931x kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
rtl931x_nand kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
Makefile realtek: add NAND targets for RTL93xx 2025-08-10 11:46:52 +02:00