/* Calls the generic get_speed_and_duplex to retrieve the current link information and then calls the Kumeran lock loss workaround for links at gigabit speeds.  */
static s32 e1000_get_link_up_info_ich8lan(struct e1000_hw *hw, u16 *speed, u16 *duplex)
/* Calls the generic get_speed_and_duplex to retrieve the current link information and then calls the Kumeran lock loss workaround for links at gigabit speeds.  */
static s32 e1000_get_link_up_info_ich8lan(struct e1000_hw *hw, u16 *speed, u16 *duplex)
{
	s32 ret_val;
	ret_val = e1000e_get_speed_and_duplex_copper(hw, speed, duplex);
	if (ret_val)
		return ret_val;
	if ((hw->mac.type == e1000_ich8lan) &&
	    (hw->phy.type == e1000_phy_igp_3) &&
	    (*speed == SPEED_1000)) {
		ret_val = e1000_kmrn_lock_loss_workaround_ich8lan(hw);
	}
	return ret_val;
}