/* Orphaned vendor comment left intact here: <vendor comment> If TPD Buffer size equal to 0, PCIE DMAR_TO_INT will assert. We do soft reset <0x1400=1> according with the SPEC. BUT, it seemes that PCIE or DMA state-machine will not be reset. DMAR_TO_INT will assert again and again. </vendor>  */
static int atl1_reset(struct atl1_adapter *adapter)
/* Orphaned vendor comment left intact here: <vendor comment> If TPD Buffer size equal to 0, PCIE DMAR_TO_INT will assert. We do soft reset <0x1400=1> according with the SPEC. BUT, it seemes that PCIE or DMA state-machine will not be reset. DMAR_TO_INT will assert again and again. </vendor>  */
static int atl1_reset(struct atl1_adapter *adapter)
{
	int ret;
	ret = atl1_reset_hw(&adapter->hw);
	if (ret)
		return ret;
	return atl1_init_hw(&adapter->hw);
}