/* Starts the hardware using the generic start_hw function. Then performs device-specific: Clears the rate limiter registers.  */
static s32 ixgbe_start_hw_82599(struct ixgbe_hw *hw)
/* Starts the hardware using the generic start_hw function. Then performs device-specific: Clears the rate limiter registers.  */
static s32 ixgbe_start_hw_82599(struct ixgbe_hw *hw)
{
	u32 q_num;
	s32 ret_val;
	ret_val = ixgbe_start_hw_generic(hw);
	for (q_num = 0; q_num < hw->mac.max_tx_queues; q_num++) {
		IXGBE_WRITE_REG(hw, IXGBE_RTTDQSEL, q_num);
		IXGBE_WRITE_REG(hw, IXGBE_RTTBCNRC, 0);
	}
	IXGBE_WRITE_FLUSH(hw);
	hw->mac.autotry_restart = true;
	if (ret_val == 0)
		ret_val = ixgbe_verify_fw_version_82599(hw);
	return ret_val;
}