aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x/bnx2x_main.c
diff options
context:
space:
mode:
authorYaniv Rosner <yaniv.rosner@broadcom.com>2010-09-07 07:41:13 -0400
committerDavid S. Miller <davem@davemloft.net>2010-09-07 16:15:41 -0400
commitde6eae1f42eae736548f293570fd867bd37c3bdd (patch)
tree1fd9a86aa71b99ae8eb6ee00705e062fb9d47701 /drivers/net/bnx2x/bnx2x_main.c
parentc18aa15d08a2d1a5c7624a21747b1b03c2c1dcfd (diff)
bnx2x: Organize PHY functions
Group all PHY specific functions together to have an organized code 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/net/bnx2x/bnx2x_main.c')
-rw-r--r--drivers/net/bnx2x/bnx2x_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bnx2x/bnx2x_main.c b/drivers/net/bnx2x/bnx2x_main.c
index 0210dde760d..30618c7ed4e 100644
--- a/drivers/net/bnx2x/bnx2x_main.c
+++ b/drivers/net/bnx2x/bnx2x_main.c
@@ -1269,7 +1269,7 @@ u8 bnx2x_initial_phy_init(struct bnx2x *bp, int load_mode)
1269 bnx2x_acquire_phy_lock(bp); 1269 bnx2x_acquire_phy_lock(bp);
1270 1270
1271 if (load_mode == LOAD_DIAG) 1271 if (load_mode == LOAD_DIAG)
1272 bp->link_params.loopback_mode = LOOPBACK_XGXS_10; 1272 bp->link_params.loopback_mode = LOOPBACK_XGXS;
1273 1273
1274 rc = bnx2x_phy_init(&bp->link_params, &bp->link_vars); 1274 rc = bnx2x_phy_init(&bp->link_params, &bp->link_vars);
1275 1275