From: Florian Fainelli <f.fainelli@gmail.com>
To: netdev@vger.kernel.org
Cc: davem@davemloft.net, linville@tuxdriver.com, decot@googlers.com,
tremyfr@gmail.com, andrew@lunn.ch,
Florian Fainelli <f.fainelli@gmail.com>
Subject: [PATCH net 0/2] Bring back transceiver type for PHYLIB
Date: Wed, 20 Sep 2017 15:52:12 -0700 [thread overview]
Message-ID: <20170920225214.21974-1-f.fainelli@gmail.com> (raw)
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
next reply other threads:[~2017-09-20 22:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-20 22:52 Florian Fainelli [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170920225214.21974-1-f.fainelli@gmail.com \
--to=f.fainelli@gmail.com \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=decot@googlers.com \
--cc=linville@tuxdriver.com \
--cc=netdev@vger.kernel.org \
--cc=tremyfr@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox