Netdev List
 help / color / mirror / Atom feed
* [PATCH net 0/2] Bring back transceiver type for PHYLIB
@ 2017-09-20 22:52 Florian Fainelli
  2017-09-20 22:52 ` [PATCH net 1/2] net: ethtool: Add back transceiver type Florian Fainelli
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Florian Fainelli @ 2017-09-20 22:52 UTC (permalink / raw)
  To: netdev; +Cc: davem, linville, decot, tremyfr, andrew, Florian Fainelli

Hi

With the introduction of the xLINKSETTINGS ethtool APIs, the transceiver type
was deprecated, but in that process we lost some useful information that PHYLIB
was consistently reporting about internal vs. external PHYs.

This brings back transceiver as a read-only field that is only consumed in the
legacy path where ETHTOOL_GET is called but the underlying drivers implement the
new style klink_settings API.

Florian Fainelli (2):
  net: ethtool: Add back transceiver type
  net: phy: Keep reporting transceiver type

 drivers/net/phy/phy.c        | 3 ++-
 include/uapi/linux/ethtool.h | 6 +++++-
 net/core/ethtool.c           | 2 ++
 3 files changed, 9 insertions(+), 2 deletions(-)

-- 
2.9.3

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-09-21 22:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-20 22:52 [PATCH net 0/2] Bring back transceiver type for PHYLIB Florian Fainelli
2017-09-20 22:52 ` [PATCH net 1/2] net: ethtool: Add back transceiver type Florian Fainelli
2017-09-20 22:52 ` [PATCH net 2/2] net: phy: Keep reporting " Florian Fainelli
2017-09-21 22:20 ` [PATCH net 0/2] Bring back transceiver type for PHYLIB David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox