commit | f3d78fbfaf25ccbf74316760667c2ad1bb771375 | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Sat Dec 09 14:59:56 2017 -0800 |
committer | Joe Hershberger <joe.hershberger@ni.com> | Mon Jan 15 12:05:22 2018 -0600 |
tree | fce3ce9b26a219fc068382b06e25725f0af1e208 | |
parent | 7a9ca9db400fc95463011449cf47012fb2e1db0d [diff] |
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: Stefan Roese <sr@denx.de> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>