/* Check if IRQ is pending, and acknowledge it.  */
bool eth_irq_ack_pending(uint32_t reason)
/* Check if IRQ is pending, and acknowledge it.  */
bool eth_irq_ack_pending(uint32_t reason)
{
	reason &= ETH_DMASR;
	ETH_DMASR = reason;
	return reason != 0;
}