Commit ed8680a7 authored by Eilon Greenstein's avatar Eilon Greenstein Committed by David S. Miller

bnx2x: GMII not SGMII

Fixing the function name
Signed-off-by: default avatarEilon Greenstein <eilong@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3a36f2ef
...@@ -1753,7 +1753,7 @@ static u8 bnx2x_link_settings_status(struct link_params *params, ...@@ -1753,7 +1753,7 @@ static u8 bnx2x_link_settings_status(struct link_params *params,
return rc; return rc;
} }
static void bnx2x_set_sgmii_tx_driver(struct link_params *params) static void bnx2x_set_gmii_tx_driver(struct link_params *params)
{ {
struct bnx2x *bp = params->bp; struct bnx2x *bp = params->bp;
u16 lp_up2; u16 lp_up2;
...@@ -4929,7 +4929,7 @@ static u8 bnx2x_update_link_up(struct link_params *params, ...@@ -4929,7 +4929,7 @@ static u8 bnx2x_update_link_up(struct link_params *params,
if (gp_status & MDIO_AN_CL73_OR_37_COMPLETE) { if (gp_status & MDIO_AN_CL73_OR_37_COMPLETE) {
if (!(vars->phy_flags & if (!(vars->phy_flags &
PHY_SGMII_FLAG)) PHY_SGMII_FLAG))
bnx2x_set_sgmii_tx_driver(params); bnx2x_set_gmii_tx_driver(params);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment