kernels/linux-2.4.0/drivers/net/3c527.c
/**
 *	mc32_rx_begin:
 *	@dev: 3c527 to enable
 *
 *	We wait for any pending command to complete and then issue 
 *	a start reception command to the board itself. At this point 
 *	receive handling continues as it was before.
 */
@dev: 3c527 to enable

We wait for any pending command to complete and then issue
a start reception command to the board itself. At this point
receive handling continues as it was before.
@dev : 3c527 to enable We wait for any pending command to complete and then issue a start reception command to the board itself . At this point receive handling continues as it was before .
static void mc32_rx_begin(struct net_device *dev)
{
	struct mc32_local *lp = (struct mc32_local *)dev->priv;
	int ioaddr = dev->base_addr;
	while(!(inb(ioaddr+HOST_STATUS)&HOST_STATUS_CRR));
	lp->rx_box->mbox=0;
	outb(1<<3, ioaddr+HOST_CMD);	
	mc32_ring_poll(dev);	
	lp->rx_halted=0;
	lp->rx_pending=0;
}
static void mc32_rx_begin ( struct net_device * dev ) { struct mc32_local * lp = ( struct mc32_local * ) dev -> priv ; int ioaddr = dev -> base_addr ; while ( ! ( inb ( ioaddr + HOST_STATUS ) & HOST_STATUS_CRR ) ) ; lp -> rx_box -> mbox = 0 ; outb ( 1 << 3 , ioaddr + HOST_CMD ) ; mc32_ring_poll ( dev ) ; lp -> rx_halted = 0 ; lp -> rx_pending = 0 ; }
mc32_rx_begin:
      @dev: 3c527 to enable
mc32_rx_begin : @dev : 3c527 to enable
/* GO */