Skip to content

net: phy: add and use new function genphy_read_abilities

Heiner Kallweit netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: phy: add genphy_read_abilitiesdrivers/net/phy/phy_device.c include/linux/phy.h+49 -00 replies
2/3net: phy: use genphy_read_abilities in genphy driverdrivers/net/phy/phy_device.c+1 -20 replies
3/3net: phy: realtek: use genphy_read_abilitiesdrivers/net/phy/realtek.c+12 -240 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/3] net: phy: add and use new function 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(). Main benefit is that PHY drivers no longer have to specify whether they support GBit or not (provided they keep to the C22 standard).

Heiner Kallweit (3):
net: phy: add genphy_read_abilities
net: phy: use genphy_read_abilities in genphy driver
net: phy: realtek: use genphy_read_abilities

 drivers/net/phy/phy_device.c | 51 ++++++++++++++++++++++++++++++++++--
 drivers/net/phy/realtek.c    | 36 +++++++++----------------
 include/linux/phy.h          |  1 +
 3 files changed, 62 insertions(+), 26 deletions(-)
Signature · 1 line
2.21.0