bnx2x: GMII not SGMII

Fixing the function name

Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Eilon Greenstein 2009-02-12 08:37:12 +00:00 committed by David S. Miller
parent 3a36f2efbf
commit ed8680a7e6

View File

@ -1753,7 +1753,7 @@ static u8 bnx2x_link_settings_status(struct link_params *params,
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;
u16 lp_up2;
@ -4929,7 +4929,7 @@ static u8 bnx2x_update_link_up(struct link_params *params,
if (gp_status & MDIO_AN_CL73_OR_37_COMPLETE) {
if (!(vars->phy_flags &
PHY_SGMII_FLAG))
bnx2x_set_sgmii_tx_driver(params);
bnx2x_set_gmii_tx_driver(params);
}
}