net: phy: add API to read 802.3-c45 IDs
Add API to read 802.3-c45 IDs so that C22/C45 mixed device can use C45 APIs without failing ID checks. Signed-off-by: Xu Liang <lxu@maxlinear.com> Acked-by: Hauke Mehrtens <hmehrtens@maxlinear.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
08f329fcdd
commit
8b72b301b4
@@ -1431,6 +1431,7 @@ static inline int phy_device_register(struct phy_device *phy)
|
||||
static inline void phy_device_free(struct phy_device *phydev) { }
|
||||
#endif /* CONFIG_PHYLIB */
|
||||
void phy_device_remove(struct phy_device *phydev);
|
||||
int phy_get_c45_ids(struct phy_device *phydev);
|
||||
int phy_init_hw(struct phy_device *phydev);
|
||||
int phy_suspend(struct phy_device *phydev);
|
||||
int phy_resume(struct phy_device *phydev);
|
||||
|
||||
Reference in New Issue
Block a user