diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2017-12-09 14:59:56 -0800 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2018-01-15 12:05:22 -0600 |
commit | f3d78fbfaf25ccbf74316760667c2ad1bb771375 (patch) | |
tree | fce3ce9b26a219fc068382b06e25725f0af1e208 /drivers/net/pic32_eth.c | |
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>
Diffstat (limited to 'drivers/net/pic32_eth.c')
0 files changed, 0 insertions, 0 deletions