]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: phy: Keep reporting transceiver type
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 20 Sep 2017 22:52:14 +0000 (15:52 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Jan 2020 09:24:36 +0000 (10:24 +0100)
commita3f89d26d6ef6c8777f2770d45130c0f8ef80bd2
tree8db106db3ef574859730b0dc7a65770b8f1317ad
parente9cd6721460c59dc289d169b5d411bf8b9cef57a
net: phy: Keep reporting transceiver type

commit ceb628134a75564d7bfa8e4ef902e6e588339e11 upstream.

With commit 2d55173e71b0 ("phy: add generic function to support
ksetting support"), we lost the ability to report the transceiver type
like we used to. Now that we have added back the transceiver type to
ethtool_link_settings, we can report it back like we used to and have no
loss of information.

Fixes: 3f1ac7a700d0 ("net: ethtool: add new ETHTOOL_xLINKSETTINGS API")
Fixes: 2d55173e71b0 ("phy: add generic function to support ksetting support")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/phy/phy.c