net: phy: add genphy_read_abilities
Similar to genphy_c45_pma_read_abilities() add a function to dynamically detect the abilities of a Clause 22 PHY. This is mainly copied from genphy_config_init(). Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
6d670497e0
commit
045925e3fe
@@ -1075,6 +1075,7 @@ void phy_attached_info(struct phy_device *phydev);
|
||||
|
||||
/* Clause 22 PHY */
|
||||
int genphy_config_init(struct phy_device *phydev);
|
||||
int genphy_read_abilities(struct phy_device *phydev);
|
||||
int genphy_setup_forced(struct phy_device *phydev);
|
||||
int genphy_restart_aneg(struct phy_device *phydev);
|
||||
int genphy_config_eee_advert(struct phy_device *phydev);
|
||||
|
Reference in New Issue
Block a user