aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x_main.c
diff options
context:
space:
mode:
authorYaniv Rosner <yanivr@broadcom.com>2008-08-13 18:57:28 -0400
committerDavid S. Miller <davem@davemloft.net>2008-08-13 19:05:33 -0400
commit6bbca910e621d82b3ca93a99af9b59eb1ff3cbcd (patch)
tree1332b0eed56b157e442dc518fe8b4a63d6c1860a /drivers/net/bnx2x_main.c
parent17de50b7f71d176375e9d4d67ffce42482e5515f (diff)
bnx2x: 8073 PHY changes
8073 PHY changes The initial support we had for this PHY needs some serious changing. The major change is that this PHY should be initialized only when the first function is loaded and not for each function. The official SPI-ROM of this PHY was released and it requires some changes in the initialization code as well 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_main.c')
-rw-r--r--drivers/net/bnx2x_main.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c
index 85ea799a0539..594b08aac93b 100644
--- a/drivers/net/bnx2x_main.c
+++ b/drivers/net/bnx2x_main.c
@@ -5377,6 +5377,13 @@ static int bnx2x_init_common(struct bnx2x *bp)
5377 ((u32 *)&tmp)[1]); 5377 ((u32 *)&tmp)[1]);
5378 } 5378 }
5379 5379
5380 if (!BP_NOMCP(bp)) {
5381 bnx2x_acquire_phy_lock(bp);
5382 bnx2x_common_init_phy(bp, bp->common.shmem_base);
5383 bnx2x_release_phy_lock(bp);
5384 } else
5385 BNX2X_ERR("Bootcode is missing - can not initialize link\n");
5386
5380 return 0; 5387 return 0;
5381} 5388}
5382 5389