]> err.no Git - linux-2.6/blobdiff - drivers/net/bnx2x_main.c
bnx2x: 8073 PHY changes
[linux-2.6] / drivers / net / bnx2x_main.c
index 85ea799a0539e730ed34affa0cd78038476b87c1..594b08aac93bad8231902a04a344720dd31de9e8 100644 (file)
@@ -5377,6 +5377,13 @@ static int bnx2x_init_common(struct bnx2x *bp)
                       ((u32 *)&tmp)[1]);
        }
 
+       if (!BP_NOMCP(bp)) {
+               bnx2x_acquire_phy_lock(bp);
+               bnx2x_common_init_phy(bp, bp->common.shmem_base);
+               bnx2x_release_phy_lock(bp);
+       } else
+               BNX2X_ERR("Bootcode is missing - can not initialize link\n");
+
        return 0;
 }