mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-14 14:59:45 +01:00
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> |
||
|---|---|---|
| .. | ||
| base-files | ||
| dts | ||
| files/firmware/rtl838x_phy | ||
| files-6.12 | ||
| image | ||
| patches-6.12 | ||
| profiles | ||
| rtl838x | ||
| rtl839x | ||
| rtl930x | ||
| rtl930x_nand | ||
| rtl931x | ||
| rtl931x_nand | ||
| Makefile | ||