Commit bf6b2cd3 authored by Ley Foon Tan's avatar Ley Foon Tan Committed by Greg Kroah-Hartman
Browse files

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



[ Upstream commit f84ef58e ]

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>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 9f5ae743
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment