[PATCH RFC 0/2] net: dwmac_meson8b: Fix incorrect ETH0 register assignment

Yang Xiwen via B4 Relay devnull+forbidden405.outlook.com at kernel.org
Tue Jan 13 16:16:14 CET 2026


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 <forbidden405 at outlook.com>
---
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 <forbidden405 at outlook.com>




More information about the U-Boot mailing list