/* Get software reset status function Check status of SWR bit in DMA Controller Bus_Mode Register.  */
int eth_cyclonev_get_software_reset_status(uint32_t instance, struct eth_cyclonev_priv *p)
/* Get software reset status function Check status of SWR bit in DMA Controller Bus_Mode Register.  */
int eth_cyclonev_get_software_reset_status(uint32_t instance, struct eth_cyclonev_priv *p)
{
	if (instance > 1) {
		return -1;
	}
	return EMAC_DMA_MODE_SWR_GET(sys_read32(EMAC_DMAGRP_BUS_MODE_ADDR(p->base_addr)));
}