Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 275081
b: refs/heads/master
c: 27d240f
h: refs/heads/master
i:
  275079: a15de7a
v: v3
  • Loading branch information
stephen hemminger authored and David S. Miller committed Nov 4, 2011
1 parent 6bdb512 commit 923fcf4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 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: 4b6cc7284ddc9a54910f111085ebf0143ef3f5bd
refs/heads/master: 27d240fdae2808d727ad9ce48ec029731a457524
11 changes: 0 additions & 11 deletions trunk/drivers/net/ethernet/marvell/sky2.c
Original file line number Diff line number Diff line change
Expand Up @@ -366,17 +366,6 @@ static void sky2_phy_init(struct sky2_hw *hw, unsigned port)
gm_phy_write(hw, port, PHY_MARV_FE_SPEC_2, spec);
}
} else {
if (hw->chip_id >= CHIP_ID_YUKON_OPT) {
u16 ctrl2 = gm_phy_read(hw, port, PHY_MARV_EXT_CTRL_2);

/* enable PHY Reverse Auto-Negotiation */
ctrl2 |= 1u << 13;

/* Write PHY changes (SW-reset must follow) */
gm_phy_write(hw, port, PHY_MARV_EXT_CTRL_2, ctrl2);
}


/* disable energy detect */
ctrl &= ~PHY_M_PC_EN_DET_MSK;

Expand Down

0 comments on commit 923fcf4

Please sign in to comment.