if(hw->phy_type == e1000_phy_igp) 
if(hw->phy_type == e1000_phy_igp || hw->phy_type == e1000_phy_igp_2) 
e1000_phy_get_info(struct e1000_hw *hw,                   struct e1000_phy_info *phy_info){    int32_t ret_val;    uint16_t phy_data;    DEBUGFUNC("e1000_phy_get_info");    phy_info->cable_length = e1000_cable_length_undefined;    phy_info->extended_10bt_distance = e1000_10bt_ext_dist_enable_undefined;    phy_info->cable_polarity = e1000_rev_polarity_undefined;    phy_info->downshift = e1000_downshift_undefined;    phy_info->polarity_correction = e1000_polarity_reversal_undefined;    phy_info->mdix_mode = e1000_auto_x_mode_undefined;    phy_info->local_rx = e1000_1000t_rx_status_undefined;    phy_info->remote_rx = e1000_1000t_rx_status_undefined;    if(hw->media_type != e1000_media_type_copper) {        DEBUGOUT("PHY info is only valid for copper media\n");        return -E1000_ERR_CONFIG;    }    ret_val = e1000_read_phy_reg(hw, PHY_STATUS, &phy_data);    if(ret_val)        return ret_val;    ret_val = e1000_read_phy_reg(hw, PHY_STATUS, &phy_data);    if(ret_val)        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 == e1000_phy_igp)        return e1000_phy_igp_get_info(hw, phy_info);    else        return e1000_phy_m88_get_info(hw, phy_info);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/2d7edb923a823660b081bd4c660300ee19adca8d/e1000_hw.c/clean/drivers/net/e1000/e1000_hw.c