/* Sets the link speed in the AUTOC register in the MAC and restarts link.  */
static s32 ixgbe_setup_copper_link_82598(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg, bool autoneg_wait_to_complete)
/* Sets the link speed in the AUTOC register in the MAC and restarts link.  */
static s32 ixgbe_setup_copper_link_82598(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg, bool autoneg_wait_to_complete)
{
	s32 status;
	status = hw->phy.ops.setup_link_speed(hw, speed, autoneg,
	                                      autoneg_wait_to_complete);
	ixgbe_start_mac_link_82598(hw, autoneg_wait_to_complete);
	return status;
}