/* Parameters: ch FEC channel pa Physical (Hardware) Address for the selected FEC  */
static void fec_set_address(const unsigned char *pa)
/* Parameters: ch FEC channel pa Physical (Hardware) Address for the selected FEC  */
static void fec_set_address(const unsigned char *pa)
{
	unsigned char crc;
	PALR = (unsigned long)((pa[0]<<24) | (pa[1]<<16) | (pa[2]<<8) | pa[3]);
	PAUR = (unsigned long)((pa[4]<<24) | (pa[5]<<16));
	crc = fec_hash_address(pa);
	if(crc >= 32)
	{
		IAUR |= (unsigned long)(1 << (crc - 32));
	}
	else
	{
		IALR |= (unsigned long)(1 << crc);
	}
}