/* et131x_rx_dma_disable - Stop of Rx_DMA on the ET1310 @etdev: pointer to our adapter structure  */
void et131x_rx_dma_disable(struct et131x_adapter *etdev)
/* et131x_rx_dma_disable - Stop of Rx_DMA on the ET1310 @etdev: pointer to our adapter structure  */
void et131x_rx_dma_disable(struct et131x_adapter *etdev)
{
	RXDMA_CSR_t csr;
	writel(0x00002001, &etdev->regs->rxdma.csr.value);
	csr.value = readl(&etdev->regs->rxdma.csr.value);
	if (csr.bits.halt_status != 1) {
		udelay(5);
		csr.value = readl(&etdev->regs->rxdma.csr.value);
		if (csr.bits.halt_status != 1)
			dev_err(&etdev->pdev->dev,
				"RX Dma failed to enter halt state. CSR 0x%08x\n",
				csr.value);
	}
}