Files
openwrt-mirror/target/linux
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
..
2026-01-24 21:36:10 +01:00
2026-01-15 01:22:47 +01:00
2026-01-23 10:35:36 +01:00
2026-01-24 21:36:10 +01:00
2025-11-22 10:11:52 +01:00
2026-01-15 01:22:47 +01:00
2025-11-25 17:27:24 +01:00