Skip to content
Commit e57c9fdb authored by Carlo Caione's avatar Carlo Caione Committed by Joe Hershberger
Browse files

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: default avatarCarlo Caione <ccaione@baylibre.com>
Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent 9043c4e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment