Skip to content
Commit f3d78fbf authored by Florian Fainelli's avatar Florian Fainelli Committed by Joe Hershberger
Browse files

net: phy: b53: Add b53_reg read/write commands



Add a b53_reg read/write command which allows inspecting the switch
registers. Because the Broadcom BCM53xx registers have different sizes,
we need to split the accesses in 8, 16, 32, 48 or 64 bits to obtain
expected results.

Reviewed-by: default avatarStefan Roese <sr@denx.de>
Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
parent 7a9ca9db
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment