Similar to genphy_read_status() for Clause 22 add a generic read_status function for Clause 45.
Showing the changes to include/linux (1 of 2 files). Show all
Unified · Split
| @@ -1107,6 +1107,7 @@ int genphy_c45_an_config_aneg(struct phy_device *phydev); · 1106 unmodified lines | ||
| 1107 | 1107 | int genphy_c45_an_disable_aneg(struct phy_device *phydev); |
| 1108 | 1108 | int genphy_c45_read_mdix(struct phy_device *phydev); |
| 1109 | 1109 | int genphy_c45_pma_read_abilities(struct phy_device *phydev); |
| 1110 | +int genphy_c45_read_status(struct phy_device *phydev); | |
| 1110 | 1111 | |
| 1111 | 1112 | /* The gen10g_* functions are the old Clause 45 stub */ |
| 1112 | 1113 | int gen10g_config_aneg(struct phy_device *phydev); |