aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy
diff options
context:
space:
mode:
authorHaiying Wang <Haiying.Wang@freescale.com>2009-06-02 00:04:13 -0400
committerDavid S. Miller <davem@davemloft.net>2009-06-03 05:52:45 -0400
commit32d0c1e1bee16781e94c7ea8c75499696bce0a33 (patch)
tree0afbcbfff39ddb57777a475c116bff84142c72d5 /drivers/net/phy
parente5b9215ef9a274eb9fb65f6aa4602ad82d10a6cb (diff)
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>
Diffstat (limited to 'drivers/net/phy')
-rw-r--r--drivers/net/phy/marvell.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c
index 7a3ec9d39a9a..dd6f54d1b495 100644
--- a/drivers/net/phy/marvell.c
+++ b/drivers/net/phy/marvell.c
@@ -243,6 +243,7 @@ static int m88e1111_config_init(struct phy_device *phydev)
243 243
244 temp &= ~(MII_M1111_HWCFG_MODE_MASK); 244 temp &= ~(MII_M1111_HWCFG_MODE_MASK);
245 temp |= MII_M1111_HWCFG_MODE_SGMII_NO_CLK; 245 temp |= MII_M1111_HWCFG_MODE_SGMII_NO_CLK;
246 temp |= MII_M1111_HWCFG_FIBER_COPPER_AUTO;
246 247
247 err = phy_write(phydev, MII_M1111_PHY_EXT_SR, temp); 248 err = phy_write(phydev, MII_M1111_PHY_EXT_SR, temp);
248 if (err < 0) 249 if (err < 0)