Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 104919
b: refs/heads/master
c: 7239016
h: refs/heads/master
i:
  104917: ae07bf0
  104915: b8df7ba
  104911: 3085b28
v: v3
  • Loading branch information
Wang Jian authored and Jeff Garzik committed Jul 22, 2008
1 parent c9c5bcf commit 2fd412c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9cf8fa4334e60f27b4a392f432c292f3af268215
refs/heads/master: 7239016d52c6d568d069f083bdcd17f35ab79fd8
5 changes: 1 addition & 4 deletions trunk/drivers/net/phy/marvell.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@ static int m88e1111_config_init(struct phy_device *phydev)
{
int err;
int temp;
int mode;

/* Enable Fiber/Copper auto selection */
temp = phy_read(phydev, MII_M1111_PHY_EXT_SR);
Expand Down Expand Up @@ -198,9 +197,7 @@ static int m88e1111_config_init(struct phy_device *phydev)

temp &= ~(MII_M1111_HWCFG_MODE_MASK);

mode = phy_read(phydev, MII_M1111_PHY_EXT_CR);

if (mode & MII_M1111_HWCFG_FIBER_COPPER_RES)
if (temp & MII_M1111_HWCFG_FIBER_COPPER_RES)
temp |= MII_M1111_HWCFG_MODE_FIBER_RGMII;
else
temp |= MII_M1111_HWCFG_MODE_COPPER_RGMII;
Expand Down

0 comments on commit 2fd412c

Please sign in to comment.