kernels/linux-2.4.0/drivers/net/tlan.c
u32 TLan_HandleRxEOC( struct net_device *dev, u16 host_int )
{
	TLanPrivateInfo	*priv = (TLanPrivateInfo *) dev->priv;
	TLanList	*head_list;
	u32		ack = 1;

	host_int = 0;
	if (  priv->tlanRev < 0x30 ) {
		TLAN_DBG( TLAN_DEBUG_RX, "RECEIVE:  Handling RX EOC (Head=%d Tail=%d) -- IRQ\n", priv->rxHead, priv->rxTail );
		head_list = priv->rxList + priv->rxHead;
		outl( virt_to_bus( head_list ), dev->base_addr + TLAN_CH_PARM );
		ack |= TLAN_HC_GO | TLAN_HC_RT;
		priv->rxEocCount++;
	}

	return ack;

}
/***************************************************************
	 *	TLan_HandleRxEOC
	 *
	 *	Returns:
	 *		1
	 *	Parms:
	 *		dev		Device assigned the IRQ that was
	 *				raised.
	 *		host_int	The contents of the HOST_INT
	 *				port.
	 *
	 *	This driver is structured to determine EOC occurances by
	 *	reading the CSTAT member of the list structure.  Rx EOC
	 *	interrupts are disabled via the DIO INTDIS register.
	 *	However, TLAN chips before revision 3.0 didn't have this
	 *	CSTAT member or a INTDIS register, so if this chip is
	 *	pre-3.0, process EOC interrupts normally.
	 *
	 **************************************************************/
TLan_HandleRxEOC
Returns:
1
Parms:
dev             Device assigned the IRQ that was
raised.
host_int        The contents of the HOST_INT
port.

This driver is structured to determine EOC occurances by
reading the CSTAT member of the list structure.  Rx EOC
interrupts are disabled via the DIO INTDIS register.
However, TLAN chips before revision 3.0 didn't have this
CSTAT member or a INTDIS register, so if this chip is
pre-3.0, process EOC interrupts normally.
TLan_HandleRxEOC Returns : 1 Parms : dev Device assigned the IRQ that was raised . host_int The contents of the HOST_INT port . This driver is structured to determine EOC occurances by reading the CSTAT member of the list structure . Rx EOC interrupts are disabled via the DIO INTDIS register . However TLAN chips before revision 3 . 0 didn ' t have this CSTAT member or a INTDIS register so if this chip is pre - 3 . 0 process EOC interrupts normally .
u32 TLan_HandleRxEOC( struct net_device *dev, u16 host_int )
{
	TLanPrivateInfo	*priv = (TLanPrivateInfo *) dev->priv;
	TLanList	*head_list;
	u32		ack = 1;
	host_int = 0;
	if (  priv->tlanRev < 0x30 ) {
		TLAN_DBG( TLAN_DEBUG_RX, "RECEIVE:  Handling RX EOC (Head=%d Tail=%d) -- IRQ\n", priv->rxHead, priv->rxTail );
		head_list = priv->rxList + priv->rxHead;
		outl( virt_to_bus( head_list ), dev->base_addr + TLAN_CH_PARM );
		ack |= TLAN_HC_GO | TLAN_HC_RT;
		priv->rxEocCount++;
	}
	return ack;
}
u32 TLan_HandleRxEOC ( struct net_device * dev , u16 host_int ) { TLanPrivateInfo * priv = ( TLanPrivateInfo * ) dev -> priv ; TLanList * head_list ; u32 ack = 1 ; host_int = 0 ; if ( priv -> tlanRev < 0x30 ) { TLAN_DBG ( TLAN_DEBUG_RX , " \n " , priv -> rxHead , priv -> rxTail ) ; head_list = priv -> rxList + priv -> rxHead ; outl ( virt_to_bus ( head_list ) , dev -> base_addr + TLAN_CH_PARM ) ; ack |= TLAN_HC_GO | TLAN_HC_RT ; priv -> rxEocCount ++ ; } return ack ; }
TLan_HandleRxEOC
      Returns:
              1
      Parms:
              dev             Device assigned the IRQ that was
                              raised.
TLan_HandleRxEOC Returns : 1 Parms : dev Device assigned the IRQ that was raised .