
Some phys have additional registers that are not covered by standard. Access to this registers can be done via specific sequence according to the phy datasheet. The driver for Micrel phy contains some additional function, that the board maintainer can call to tune the phy. However, these registers cannot be accessed with "mmdio" command.
Add calback to the phy API to allow to call the function for reading / writing extended registers with the mmdio command.
Stefano Babic (5): phy: add missing constants for Micrel KSZ9031 net: fix mask for phy Micrel KSZ9031 net: add extended function to phy API net: add function to read/write extended registers in Micrel Phy net: add support for extended registers to mdio command
common/cmd_mdio.c | 75 ++++++++++++++++++++++++++++++++++++---------- drivers/net/phy/micrel.c | 34 ++++++++++++++++++++- include/micrel.h | 5 ++++ include/phy.h | 3 ++ 4 files changed, 100 insertions(+), 17 deletions(-)