diff options
author | Yaniv Rosner <yanivr@broadcom.com> | 2011-07-04 21:07:16 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-05 07:21:40 -0400 |
commit | 7d09926d1decb658d4e24f70216b6b0b74168026 (patch) | |
tree | 5004a9dec080d2c1ba13bc2ac925912796884fd7 /drivers | |
parent | a89a1d4a738668ccb2270ac218cddd30f0bef2a0 (diff) |
bnx2x: Fix warning message during 57712/8727 initialization
Clear warning message "MDC/MDIO access timeout" during first driver load by setting MDIO clock.
This warning has no significant meaning, since it occurs prior to the first PHY initialization.
Signed-off-by: Yaniv Rosner <yanivr@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/bnx2x/bnx2x_link.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/net/bnx2x/bnx2x_link.c b/drivers/net/bnx2x/bnx2x_link.c index 03a2085bd517..bcd8f0038628 100644 --- a/drivers/net/bnx2x/bnx2x_link.c +++ b/drivers/net/bnx2x/bnx2x_link.c | |||
@@ -11684,16 +11684,12 @@ int bnx2x_link_reset(struct link_params *params, struct link_vars *vars, | |||
11684 | bnx2x_set_led(params, vars, LED_MODE_OFF, 0); | 11684 | bnx2x_set_led(params, vars, LED_MODE_OFF, 0); |
11685 | 11685 | ||
11686 | if (reset_ext_phy) { | 11686 | if (reset_ext_phy) { |
11687 | bnx2x_set_mdio_clk(bp, params->chip_id, port); | ||
11688 | for (phy_index = EXT_PHY1; phy_index < params->num_phys; | 11687 | for (phy_index = EXT_PHY1; phy_index < params->num_phys; |
11689 | phy_index++) { | 11688 | phy_index++) { |
11690 | if (params->phy[phy_index].link_reset) { | 11689 | if (params->phy[phy_index].link_reset) |
11691 | bnx2x_set_aer_mmd(params, | ||
11692 | ¶ms->phy[phy_index]); | ||
11693 | params->phy[phy_index].link_reset( | 11690 | params->phy[phy_index].link_reset( |
11694 | ¶ms->phy[phy_index], | 11691 | ¶ms->phy[phy_index], |
11695 | params); | 11692 | params); |
11696 | } | ||
11697 | if (params->phy[phy_index].flags & | 11693 | if (params->phy[phy_index].flags & |
11698 | FLAGS_REARM_LATCH_SIGNAL) | 11694 | FLAGS_REARM_LATCH_SIGNAL) |
11699 | clear_latch_ind = 1; | 11695 | clear_latch_ind = 1; |