Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 202920
b: refs/heads/master
c: 1ab6c16
h: refs/heads/master
v: v3
  • Loading branch information
Yaniv Rosner authored and David S. Miller committed Jun 15, 2010
1 parent 16297de commit 01c9fa2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 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: d6cc1d642de9284cb26488ea390d915b50ee2504
refs/heads/master: 1ab6c163dee279559e3a62d774af7e4c4c9b4c67
8 changes: 5 additions & 3 deletions trunk/drivers/net/bnx2x_link.c
Original file line number Diff line number Diff line change
Expand Up @@ -4266,14 +4266,16 @@ static u8 bnx2x_ext_phy_init(struct link_params *params, struct link_vars *vars)
MDIO_PMA_REG_10G_CTRL2, 0x0008);
}

/* Set 2-wire transfer rate to 400Khz since 100Khz
is not operational */
/* Set 2-wire transfer rate of SFP+ module EEPROM
* to 100Khz since some DACs(direct attached cables) do
* not work at 400Khz.
*/
bnx2x_cl45_write(bp, params->port,
ext_phy_type,
ext_phy_addr,
MDIO_PMA_DEVAD,
MDIO_PMA_REG_8727_TWO_WIRE_SLAVE_ADDR,
0xa101);
0xa001);

/* Set TX PreEmphasis if needed */
if ((params->feature_config_flags &
Expand Down

0 comments on commit 01c9fa2

Please sign in to comment.