kernels/linux-2.4.0/drivers/net/3c527.c
/**
 *	mc32_rx_abort:
 *	@dev: 3c527 to abort
 *
 *	Peforms a receive abort sequence on the card. In fact after some
 *	experimenting we now simply tell the card to suspend reception. When
 *	issuing aborts occasionally odd things happened.
 */


Peforms a receive abort sequence on the card. In fact after some
experimenting we now simply tell the card to suspend reception. When
issuing aborts occasionally odd things happened.
Peforms a receive abort sequence on the card . In fact after some experimenting we now simply tell the card to suspend reception . When issuing aborts occasionally odd things happened .
static void mc32_rx_abort(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(3<<3, ioaddr+HOST_CMD);	
}
static void mc32_rx_abort ( 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 ( 3 << 3 , ioaddr + HOST_CMD ) ; }
mc32_rx_abort:
      @dev: 3c527 to abort
mc32_rx_abort : @dev : 3c527 to abort
/* Suspend reception */