kernels/linux-2.4.0/drivers/net/tlan.c
/***************************************************************
	 *	TLan_MiiSync
	 *
	 *	Returns:
	 *		Nothing
	 *	Parms:
	 *		base_port	The base IO port of the adapter in
	 *				question.
	 *
	 *	This functions syncs all PHYs in terms of the MII configuration
	 *	bus.
	 *
	 **************************************************************/
TLan_MiiSync
Returns:
Nothing
Parms:
base_port       The base IO port of the adapter in
question.

This functions syncs all PHYs in terms of the MII configuration
bus.
TLan_MiiSync Returns : Nothing Parms : base_port The base IO port of the adapter in question . This functions syncs all PHYs in terms of the MII configuration bus .
void TLan_MiiSync( u16 base_port )
{
	int i;
	u16 sio;
	outw( TLAN_NET_SIO, base_port + TLAN_DIO_ADR );
	sio = base_port + TLAN_DIO_DATA + TLAN_NET_SIO;
	TLan_ClearBit( TLAN_NET_SIO_MTXEN, sio );
	for ( i = 0; i < 32; i++ ) {
		TLan_ClearBit( TLAN_NET_SIO_MCLK, sio );
		TLan_SetBit( TLAN_NET_SIO_MCLK, sio );
	}
}
void TLan_MiiSync ( u16 base_port ) { int i ; u16 sio ; outw ( TLAN_NET_SIO , base_port + TLAN_DIO_ADR ) ; sio = base_port + TLAN_DIO_DATA + TLAN_NET_SIO ; TLan_ClearBit ( TLAN_NET_SIO_MTXEN , sio ) ; for ( i = 0 ; i < 32 ; i ++ ) { TLan_ClearBit ( TLAN_NET_SIO_MCLK , sio ) ; TLan_SetBit ( TLAN_NET_SIO_MCLK , sio ) ; } }
TLan_MiiSync
      Returns:
              Nothing
      Parms:
              base_port       The base IO port of the adapter in
                              question.
TLan_MiiSync Returns : Nothing Parms : base_port The base IO port of the adapter in question .