The information about the PHY attached to the PHYLINK instance is useful but is missing the IRQ prints that phy_attached_info() adds. phy_attached_info() is a bit long and it would not be possible to use phylink_info() anyway.
Showing the changes to include/linux (1 of 3 files). Show all
Unified · Split
| @@ -1131,6 +1131,8 @@ static inline void phy_unlock_mdio_bus(struct phy_device *phydev) · 1130 unmodified lines | |||
| 1131 | 1131 | ||
| 1132 | void phy_attached_print(struct phy_device *phydev, const char *fmt, ...) | 1132 | void phy_attached_print(struct phy_device *phydev, const char *fmt, ...) |
| 1133 | __printf(2, 3); | 1133 | __printf(2, 3); |
| 1134 | char *phy_attached_info_irq(struct phy_device *phydev) | ||
| 1135 | __malloc; | ||
| 1134 | void phy_attached_info(struct phy_device *phydev); | 1136 | void phy_attached_info(struct phy_device *phydev); |
| 1135 | 1137 | ||
| 1136 | /* Clause 22 PHY */ | 1138 | /* Clause 22 PHY */ |