Skip to content

phy: allow flagging PHY devices as internal

Florian Fainelli netdev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 4 repliesIn review
  2. v22 patches 0 repliesSuperseded
  3. v12 patches 3 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: ethtool: disambiguate XCVR_* meaninginclude/uapi/linux/ethtool.h+2 -21 reply
2/3phy: allow drivers to flag a PHY device as internaldrivers/net/phy/phy.c drivers/net/phy/phy_device.c include/linux/phy.h+17 -10 replies
3/3phy: bcm63xx: report Broadcom BCM63xx PHYs as internaldrivers/net/phy/bcm63xx.c+2 -20 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchBen Hutchings
1/3R-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH 0/3 v3] phy: allow flagging PHY devices as internal

David, Andy,

This small patch set updates libphy to allow PHY drivers to flag a specific PHY device as internal, which is then used to accurately report the transceiver type (internal vs external) in ethtool.

As far as I can tell we only have one in-tree driver for the moment which is known to be for internal PHYs.

Florian Fainelli (3):
net: ethtool: disambiguate XCVR_* meaning
phy: allow drivers to flag a PHY device as internal
phy: bcm63xx: report Broadcom BCM63xx PHYs as internal

 drivers/net/phy/bcm63xx.c    |  4 ++--
 drivers/net/phy/phy.c        |  3 ++-
 drivers/net/phy/phy_device.c |  3 +++
 include/linux/phy.h          | 12 ++++++++++++
 include/uapi/linux/ethtool.h |  4 ++--
 5 files changed, 21 insertions(+), 5 deletions(-)
Signature · 1 line
1.8.1.2