/* Parameters: ch FEC channel pa Physical (Hardware) Address for the selected FEC  */
static void fec_set_address(const unsigned portCHAR *pa)
/* Parameters: ch FEC channel pa Physical (Hardware) Address for the selected FEC  */
static void fec_set_address(const unsigned portCHAR *pa)
{
	unsigned portCHAR crc;
	MCF_FEC_PALR = ( pa[ 0 ] << 24 ) | ( pa[ 1 ] << 16 ) | ( pa[ 2 ] << 8 ) | ( pa[ 3 ] << 0 );
	MCF_FEC_PAUR = ( pa[ 4 ] << 24 ) | ( pa[ 5 ] << 16 );
	crc = fec_hash_address( pa );
	if( crc >= 32 )
	{
		MCF_FEC_IAUR |= (unsigned portLONG)(1 << (crc - 32));
	}
	else
	{
		MCF_FEC_IALR |= (unsigned portLONG)(1 << crc);
	}
}