net: phy: select copper mode when Marvel 88e1111 in SGMII
authorMadalin Bucur <madalin.bucur@freescale.com>
Fri, 7 Aug 2015 09:07:50 +0000 (17:07 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Aug 2015 20:31:18 +0000 (13:31 -0700)
commit07151bc9f7f53731b355b704141ffaccc8d08752
tree389f8a8689851f6ec40137e269dba5a9781d25b9
parentc4bc44c65b6b24722506ad5d1bbf557a71d3df90
net: phy: select copper mode when Marvel 88e1111 in SGMII

For the Marvel 88e1111 PHY only two SGMII modes are available, both
allowing only SGMII to copper mode (with or without clock). SGMII
to fiber mode is not supported. Make sure the fiber/copper registers
selector bits are cleared for selecting copper mode.

Signed-off-by: Madalin Bucur <madalin.bucur@freescale.com>
Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/marvell.c