net: phy: add and use new function genphy_read_abilities
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | net: phy: add genphy_read_abilitiesdrivers/ include/ | +49 | 0 replies | |
| 2/3 | net: phy: use genphy_read_abilities in genphy driverdrivers/ | +1 | 0 replies | |
| 3/3 | net: phy: realtek: use genphy_read_abilitiesdrivers/ | +12 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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