Skip to content
Snippets Groups Projects
Commit b71841b9 authored by Stefano Babic's avatar Stefano Babic Committed by Joe Hershberger
Browse files

net: add extended function to phy API


Some phys (Micrel) has extended registers that must be
accessed in a special way. Add pointers to the phy driver
structure to allow to use these functions with mdio command.

Signed-off-by: default avatarStefano Babic <sbabic@denx.de>
parent e8194d58
No related branches found
No related tags found
No related merge requests found
......@@ -125,6 +125,9 @@ struct phy_driver {
/* Called when bringing down the controller */
int (*shutdown)(struct phy_device *phydev);
int (*readext)(struct phy_device *phydev, int addr, int devad, int reg);
int (*writeext)(struct phy_device *phydev, int addr, int devad, int reg,
u16 val);
struct list_head list;
};
......
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