Skip to content

Commit

Permalink
net/phy/marvell: update m88e1111 support for SGMII mode
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Haiying Wang authored and David S. Miller committed Jun 3, 2009
1 parent e5b9215 commit 32d0c1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/phy/marvell.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ static int m88e1111_config_init(struct phy_device *phydev)

temp &= ~(MII_M1111_HWCFG_MODE_MASK);
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);
if (err < 0)
Expand Down

0 comments on commit 32d0c1e

Please sign in to comment.