/* In this representation, the octets are transmitted from left to right, with the  */
void EthernetMACAddrSet(unsigned long ulBase, unsigned char *pucMACAddr)
/* In this representation, the octets are transmitted from left to right, with the  */
void EthernetMACAddrSet(unsigned long ulBase, unsigned char *pucMACAddr)
{
    unsigned long ulTemp;
    unsigned char *pucTemp = (unsigned char *)&ulTemp;
    ASSERT(ulBase == ETH_BASE);
    ASSERT(pucMACAddr != 0);
    pucTemp[0] = pucMACAddr[0];
    pucTemp[1] = pucMACAddr[1];
    pucTemp[2] = pucMACAddr[2];
    pucTemp[3] = pucMACAddr[3];
    HWREG(ulBase + MAC_O_IA0) = ulTemp;
    ulTemp = 0;
    pucTemp[0] = pucMACAddr[4];
    pucTemp[1] = pucMACAddr[5];
    HWREG(ulBase + MAC_O_IA1) = ulTemp;
}