INT_PHY
return INT_PHY;
bnx2x_set_autoneg(¶ms->phy[INT_PHY], params, vars, 0);
bnx2x_program_serdes(¶ms->phy[INT_PHY], params, vars);
if (phy_index == INT_PHY || phy_index == EXT_PHY1) {
bnx2x_populate_preemphasis(bp, shmem_base, phy, port, INT_PHY);
if (phy_index == INT_PHY)
for (phy_index = INT_PHY; phy_index < MAX_PHYS;
for (phy_index = INT_PHY;
params->phy[INT_PHY].config_loopback(
¶ms->phy[INT_PHY],
struct bnx2x_phy *int_phy = ¶ms->phy[INT_PHY];
for (phy_idx = INT_PHY; phy_idx < params->num_phys; phy_idx++) {
if (params->phy[INT_PHY].link_reset)
params->phy[INT_PHY].link_reset(
¶ms->phy[INT_PHY], params);
for (phy_idx = INT_PHY; phy_idx < MAX_PHYS; phy_idx++) {
struct bnx2x_phy *phy = ¶ms->phy[INT_PHY];
for (phy_index = INT_PHY; phy_index < MAX_PHYS;
for (phy_index = INT_PHY; phy_index < params->num_phys;
if (!(params->phy[INT_PHY].flags & FLAGS_TX_ERROR_CHECK)) {
(params->phy[INT_PHY].supported &
bnx2x_xgxs_specific_func(¶ms->phy[INT_PHY], params,
for (phy_index = INT_PHY; phy_index < params->num_phys;
if ((params->req_line_speed[LINK_CONFIG_IDX(INT_PHY)] ==
params->phy[INT_PHY].media_type =
struct bnx2x_phy *phy = ¶ms->phy[INT_PHY];
params->phy[INT_PHY].type !=
params->phy[INT_PHY].type !=
struct bnx2x_phy *int_phy = ¶ms->phy[INT_PHY];
if (params->req_line_speed[LINK_CONFIG_IDX(INT_PHY)]
vars->line_speed = params->phy[INT_PHY].req_line_speed;
bnx2x_prepare_xgxs(¶ms->phy[INT_PHY], params, vars);
struct bnx2x_phy *phy = ¶ms->phy[INT_PHY];
if (params->phy[INT_PHY].config_init)
params->phy[INT_PHY].config_init(phy, params, vars);
vars->line_speed = params->phy[INT_PHY].req_line_speed;
if (params->phy[INT_PHY].supported &
for (phy_idx = INT_PHY; phy_idx < MAX_PHYS; phy_idx++) {
u8 active_external_phy = INT_PHY;
for (phy_index = INT_PHY; phy_index < params->num_phys;
bnx2x_set_aer_mmd(params, ¶ms->phy[INT_PHY]);
if (params->phy[INT_PHY].read_status)
params->phy[INT_PHY].read_status(
¶ms->phy[INT_PHY],
if (active_external_phy > INT_PHY) {
if (params->phy[INT_PHY].config_init)
params->phy[INT_PHY].config_init(
¶ms->phy[INT_PHY], params,
for (idx = INT_PHY; idx < MAX_PHYS; idx++) {
for (phy_idx = INT_PHY; phy_idx < MAX_PHYS; phy_idx++) {
phy = ¶ms->phy[INT_PHY];
#define LINK_CONFIG_IDX(_phy_idx) ((_phy_idx == INT_PHY) ? \
bp->port.supported[0] = bp->link_params.phy[INT_PHY].supported;