]> git.baikalelectronics.ru Git - kernel.git/commit
phylink: ensure AN is enabled
authorRussell King <rmk+kernel@armlinux.org.uk>
Wed, 20 Dec 2017 23:21:34 +0000 (23:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Dec 2017 02:47:20 +0000 (21:47 -0500)
commit525747ccf3bfa96b49d9b1f42cd6d0a8f4554b48
tree1be8e7cbb8991a751f81e98522584b19ef624bb6
parente35ba74652097f60fe17de0d1093233bd12bf647
phylink: ensure AN is enabled

Ensure that we mark AN as enabled at boot time, rather than leaving
it disabled.  This is noticable if your SFP module is fiber, and
it supports faster speeds than 1G with 2.5G support in place.

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