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)
commitde9c4e06bbe872d725f306e34f3eea21155488e2
treef794bce1df2fb1a763146969967371af2ef16611
parent53c64870d03edfa5c554ac2f750c5d6b38e3680a
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