rem: DEBUGOUT("PHY info is only valid if link is up\n");
add: HW_DEBUGOUT("PHY info is only valid if link is up");
context: em_phy_get_info(struct em_hw *hw,                   struct em_phy_info *phy_info){    int32_t ret_val;    uint16_t phy_data;    DEBUGFUNC("em_phy_get_info");    phy_info->cable_length = em_cable_length_undefined;    phy_info->extended_10bt_distance = em_10bt_ext_dist_enable_undefined;    phy_info->cable_polarity = em_rev_polarity_undefined;    phy_info->downshift = em_downshift_undefined;    phy_info->polarity_correction = em_polarity_reversal_undefined;    phy_info->mdix_mode = em_auto_x_mode_undefined;    phy_info->local_rx = em_1000t_rx_status_undefined;    phy_info->remote_rx = em_1000t_rx_status_undefined;    if(hw->media_type != em_media_type_copper) {        DEBUGOUT("PHY info is only valid for copper media\n");        return -E1000_ERR_CONFIG;    }    if((ret_val = em_read_phy_reg(hw, PHY_STATUS, &phy_data)))        return ret_val;    if((ret_val = em_read_phy_reg(hw, PHY_STATUS, &phy_data)))        return ret_val;    if((phy_data & MII_SR_LINK_STATUS) != MII_SR_LINK_STATUS) {        DEBUGOUT("PHY info is only valid if link is up\n");        return -E1000_ERR_CONFIG;    }    if(hw->phy_type == em_phy_igp)        return em_phy_igp_get_info(hw, phy_info);    else        return em_phy_m88_get_info(hw, phy_info);}