net/phy/marvell: update m88e1111 support for SGMII mode
Disable fiber/copper auto selection for Marvell m88e1111 SGMII support. Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
e5b9215ef9
commit
32d0c1e1be
@@ -243,6 +243,7 @@ static int m88e1111_config_init(struct phy_device *phydev)
|
|||||||
|
|
||||||
temp &= ~(MII_M1111_HWCFG_MODE_MASK);
|
temp &= ~(MII_M1111_HWCFG_MODE_MASK);
|
||||||
temp |= MII_M1111_HWCFG_MODE_SGMII_NO_CLK;
|
temp |= MII_M1111_HWCFG_MODE_SGMII_NO_CLK;
|
||||||
|
temp |= MII_M1111_HWCFG_FIBER_COPPER_AUTO;
|
||||||
|
|
||||||
err = phy_write(phydev, MII_M1111_PHY_EXT_SR, temp);
|
err = phy_write(phydev, MII_M1111_PHY_EXT_SR, temp);
|
||||||
if (err < 0)
|
if (err < 0)
|
||||||
|
Reference in New Issue
Block a user