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]>


Reply via email to