release/src/linux/linux/drivers/net/tlan.c
/***************************************************************
	 *	TLan_EeSendStart
	 *
	 *	Returns:
	 *		Nothing
	 *	Parms:	
	 *		io_base		The IO port base address for the
	 *				TLAN device with the EEPROM to
	 *				use.
	 *
	 *	This function sends a start cycle to an EEPROM attached
	 *	to a TLAN chip.
	 *
	 **************************************************************/
TLan_EeSendStart
Returns:
Nothing
Parms:
io_base         The IO port base address for the
TLAN device with the EEPROM to
use.

This function sends a start cycle to an EEPROM attached
to a TLAN chip.
TLan_EeSendStart Returns : Nothing Parms : io_base The IO port base address for the TLAN device with the EEPROM to use . This function sends a start cycle to an EEPROM attached to a TLAN chip .
void TLan_EeSendStart( u16 io_base )
{
	u16	sio;
	outw( TLAN_NET_SIO, io_base + TLAN_DIO_ADR );
	sio = io_base + TLAN_DIO_DATA + TLAN_NET_SIO;
	TLan_SetBit( TLAN_NET_SIO_ECLOK, sio );
	TLan_SetBit( TLAN_NET_SIO_EDATA, sio );
	TLan_SetBit( TLAN_NET_SIO_ETXEN, sio );
	TLan_ClearBit( TLAN_NET_SIO_EDATA, sio );
	TLan_ClearBit( TLAN_NET_SIO_ECLOK, sio );
}
void TLan_EeSendStart ( u16 io_base ) { u16 sio ; outw ( TLAN_NET_SIO , io_base + TLAN_DIO_ADR ) ; sio = io_base + TLAN_DIO_DATA + TLAN_NET_SIO ; TLan_SetBit ( TLAN_NET_SIO_ECLOK , sio ) ; TLan_SetBit ( TLAN_NET_SIO_EDATA , sio ) ; TLan_SetBit ( TLAN_NET_SIO_ETXEN , sio ) ; TLan_ClearBit ( TLAN_NET_SIO_EDATA , sio ) ; TLan_ClearBit ( TLAN_NET_SIO_ECLOK , sio ) ; }
TLan_EeSendStart
      Returns:
              Nothing
      Parms:
              io_base         The IO port base address for the
                              TLAN device with the EEPROM to
                              use.
TLan_EeSendStart Returns : Nothing Parms : io_base The IO port base address for the TLAN device with the EEPROM to use .