summaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x_link.c
diff options
context:
space:
mode:
authorEilon Greenstein <eilong@broadcom.com>2009-02-12 08:37:12 +0000
committerDavid S. Miller <davem@davemloft.net>2009-02-15 23:31:40 -0800
commited8680a7e68fc07d6b2bfa977e8f5f3d3c568d14 (patch)
tree842099bd418f4067e7ede73e52fca31b7f6df1c3 /drivers/net/bnx2x_link.c
parent3a36f2efbf9ac5da1d08cb44d237ba35ec354888 (diff)
downloadblackbird-op-linux-ed8680a7e68fc07d6b2bfa977e8f5f3d3c568d14.tar.gz
blackbird-op-linux-ed8680a7e68fc07d6b2bfa977e8f5f3d3c568d14.zip
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>
Diffstat (limited to 'drivers/net/bnx2x_link.c')
-rw-r--r--drivers/net/bnx2x_link.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/bnx2x_link.c b/drivers/net/bnx2x_link.c
index 526072bb8087..b61a7a24ecc5 100644
--- a/drivers/net/bnx2x_link.c
+++ b/drivers/net/bnx2x_link.c
@@ -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);
}
}
OpenPOWER on IntegriCloud