Commit f84ef58e authored by Ley Foon Tan's avatar Ley Foon Tan Committed by Paolo Abeni
Browse files

net: stmmac: dwmac4: Fix high address display by updating reg_space[] from register values



The high address will display as 0 if the driver does not set the
reg_space[]. To fix this, read the high address registers and
update the reg_space[] accordingly.

Fixes: fbf68229 ("net: stmmac: unify registers dumps methods")
Signed-off-by: default avatarLey Foon Tan <leyfoon.tan@starfivetech.com>
Reviewed-by: default avatarSimon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20241021054625.1791965-1-leyfoon.tan@starfivetech.com


Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent 94c11e85
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment