/* Check the send packet FIFO for errors. FIFO error interrupts are: */
void XEmac_CheckFifoSendError(XEmac *InstancePtr)
/* Check the send packet FIFO for errors. FIFO error interrupts are: */
void XEmac_CheckFifoSendError(XEmac *InstancePtr)
{
	if (XPF_V100B_IS_DEADLOCKED(&InstancePtr->SendFifo)) {
		u32 IntrEnable;
		InstancePtr->Stats.FifoErrors++;
		IntrEnable = XIIF_V123B_READ_DIER(InstancePtr->BaseAddress);
		XIIF_V123B_WRITE_DIER(InstancePtr->BaseAddress,
				      IntrEnable & ~XEM_IPIF_SEND_FIFO_MASK);
		InstancePtr->ErrorHandler(InstancePtr->ErrorRef,
					  XST_FIFO_ERROR);
	}
}