]> git.baikalelectronics.ru Git - kernel.git/commit
phylink: ensure the PHY interface mode is appropriately set
authorRussell King <rmk+kernel@armlinux.org.uk>
Wed, 20 Dec 2017 23:21:28 +0000 (23:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Dec 2017 02:47:19 +0000 (21:47 -0500)
commite35ba74652097f60fe17de0d1093233bd12bf647
treedeabeb40b917960bea9ab1dd67cc8ed6b535575b
parentb1b6e0381c17b41e373072649e8b29f31e954d1b
phylink: ensure the PHY interface mode is appropriately set

When setting the ethtool settings, ensure that the validated PHY
interface mode is propagated to the current link settings, so that
2500BaseX can be selected.

Fixes: 81485403f4ec ("phylink: add phylink infrastructure")
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phylink.c