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)
commit74ee0e8c1bf9925c59cc8f1c65c29adf6e4cf603
tree1be8e7cbb8991a751f81e98522584b19ef624bb6
parent182088aa3c6c7f7c20a2c1dcc9ded4a3fc631f38
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: 9525ae83959b ("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