commit | 82aa8d1b40ae0169e3f5259ab8463af8d9c9ac69 | [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 | 65f686bfb228d5ef9f5ec12a526cea98df5e1c18 [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>