/* Reset the Adaptive Interframe Spacing throttle to default values.  */
void e1000e_reset_adaptive(struct e1000_hw *hw)
/* Reset the Adaptive Interframe Spacing throttle to default values.  */
void e1000e_reset_adaptive(struct e1000_hw *hw)
{
	struct e1000_mac_info *mac = &hw->mac;
	if (!mac->adaptive_ifs) {
		e_dbg("Not in Adaptive IFS mode!\n");
		goto out;
	}
	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;
	ew32(AIT, 0);
out:
	return;
}