kernels/linux-2.4.0/drivers/net/macmace.c
/*
 *	Load a receive DMA channel with a base address and ring length
 */
Load a receive DMA channel with a base address and ring length
Load a receive DMA channel with a base address and ring length
static void psc_load_rxdma_base(int set, void *base)
{
	psc_write_word(PSC_ENETRD_CMD + set, 0x0100);
	psc_write_long(PSC_ENETRD_ADDR + set, (u32)base);
	psc_write_long(PSC_ENETRD_LEN + set, N_RX_RING);
	psc_write_word(PSC_ENETRD_CMD + set, 0x9800);
}
static void psc_load_rxdma_base ( int set , void * base ) { psc_write_word ( PSC_ENETRD_CMD + set , 0x0100 ) ; psc_write_long ( PSC_ENETRD_ADDR + set , ( u32 ) base ) ; psc_write_long ( PSC_ENETRD_LEN + set , N_RX_RING ) ; psc_write_word ( PSC_ENETRD_CMD + set , 0x9800 ) ; }
Load a receive DMA channel with a base address and ring length
Load a receive DMA channel with a base address and ring length