[PATCH RFC 0/2] net: dwmac_meson8b: Fix incorrect ETH0 register assignment
Yang Xiwen via B4 Relay <[email protected]> Tue, 13 Jan 2026 23:16:14 +0800
| Newsgroups | io.groups.u-boot-amlogic,org.kernel.feeds.b4-sent,org.u-boot-project.lists.u-boot |
|---|---|
| Message-ID | <[email protected]> |
The currnet logic for setting ETH0 reg seems broken. It does not conform to the datasheet and the Linux driver code. Fix two bugs here: 1. replace setbits() with clrsetbits() 2. set tx radio to 2 rather than 4. Signed-off-by: Yang Xiwen <[email protected]> --- Yang Xiwen (2): net: dwmac_meson8b: replace setbits() with clrsetbits() net: dwmac_meson8b: Fix incorrect clock divider setting drivers/net/dwmac_meson8b.c | 48 ++++++++++++++++++++++++++++----------------- 1 file changed, 30 insertions(+), 18 deletions(-) --- base-commit: 711150fc6fe7a125cc1133841acc802570478007 change-id: 20260113-aml_eth-f05ef7cf7006 Best regards, -- Yang Xiwen <[email protected]>