]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: marvell: avoid configuring fiber page for SGMII-to-Copper
authorRussell King <rmk+kernel@armlinux.org.uk>
Wed, 13 Dec 2017 09:22:03 +0000 (09:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Dec 2017 21:10:54 +0000 (16:10 -0500)
commit6e35700dd6c3f941ef0695e0a021da83a54215ca
treef794bce1df2fb1a763146969967371af2ef16611
parent8d62568082931c45d962f2bc19606302963f8411
net: phy: marvell: avoid configuring fiber page for SGMII-to-Copper

When in SGMII-to-Copper mode, the fiber page is used for the MAC facing
link, and does not require configuration of the fiber auto-negotiation
settings.  Avoid trying.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/marvell.c