/* Setup the receive and transmit "rings". These pointers are the addresses of the rx and tx MAC DMA registers so they are fixed by the hardware  */
static void setup_hw_rings(struct au1000_private *aup, u32 rx_base, u32 tx_base)
/* Setup the receive and transmit "rings". These pointers are the addresses of the rx and tx MAC DMA registers so they are fixed by the hardware  */
static void setup_hw_rings(struct au1000_private *aup, u32 rx_base, u32 tx_base)
{
	int i;
	for (i = 0; i < NUM_RX_DMA; i++) {
		aup->rx_dma_ring[i] =
			(volatile rx_dma_t *) (rx_base + sizeof(rx_dma_t)*i);
	}
	for (i = 0; i < NUM_TX_DMA; i++) {
		aup->tx_dma_ring[i] =
			(volatile tx_dma_t *) (tx_base + sizeof(tx_dma_t)*i);
	}
}