/* Reset the Adaptive Interframe Spacing throttle to default values.  */
void igb_reset_adaptive(struct e1000_hw *hw)
/* Reset the Adaptive Interframe Spacing throttle to default values.  */
void igb_reset_adaptive(struct e1000_hw *hw)
{
	struct e1000_mac_info *mac = &hw->mac;
	if (!mac->adaptive_ifs) {
		hw_dbg("Not in Adaptive IFS mode!\n");
		goto out;
	}
	if (!mac->ifs_params_forced) {
		mac->current_ifs_val = 0;
		mac->ifs_min_val = IFS_MIN;
		mac->ifs_max_val = IFS_MAX;
		mac->ifs_step_size = IFS_STEP;
		mac->ifs_ratio = IFS_RATIO;
	}
	mac->in_ifs_mode = false;
	wr32(E1000_AIT, 0);
out:
	return;
}