Browse Source

bnx2x: Adjust alignment of split PHY functions

In previous patch, common PHY functions were split in simple way to
allow easy diff. This patch comes to align code in the new functions.
In addition, the non-production BCM8072 PHY was removed.

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>
Yaniv Rosner 14 years ago
parent
commit
62b29a5dd0
2 changed files with 322 additions and 528 deletions
  1. 322 527
      drivers/net/bnx2x/bnx2x_link.c
  2. 0 1
      drivers/net/bnx2x/bnx2x_main.c

File diff suppressed because it is too large
+ 322 - 527
drivers/net/bnx2x/bnx2x_link.c


+ 0 - 1
drivers/net/bnx2x/bnx2x_main.c

@@ -4348,7 +4348,6 @@ static int bnx2x_init_port(struct bnx2x *bp)
 		REG_WR(bp, reg_addr, val);
 		}
 		break;
-	case PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM8072:
 	case PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM8073:
 		bp->port.need_hw_lock = 1;
 		break;

Some files were not shown because too many files changed in this diff