summaryrefslogtreecommitdiff
path: root/net/eth_legacy.c
diff options
context:
space:
mode:
authorCarlo Caione <ccaione@baylibre.com>2019-01-16 14:34:50 +0300
committerJoe Hershberger <joe.hershberger@ni.com>2019-01-24 20:35:29 +0300
commite57c9fdb042741e4049661074c25e7b7ff8a68cc (patch)
treefc03aa1871597d175229e1aa37ebf79a1f16ed78 /net/eth_legacy.c
parent9043c4e0fc130aba5a1f4161885c9d97b5d8a73f (diff)
downloadu-boot-e57c9fdb042741e4049661074c25e7b7ff8a68cc.tar.xz
net: phy: realtek: Add functions to read PHY's extended registers
According to the datasheet to access the extended registers we have to: 1. Write Register 31 Data = 0x0XYZ (Page 0xXYZ) 2. Read/Write the target Register Data 3. Write Register 31 Data = 0x0000 or 0xa42 (switch back to IEEE Standard Registers) Hook the missing functions so that we can use the `mdio rx/wx` command to easily access the extended registers. Signed-off-by: Carlo Caione <ccaione@baylibre.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'net/eth_legacy.c')
0 files changed, 0 insertions, 0 deletions