/* This function replaces the original EthernetInit() API and performs the same actions. A macro is provided in  */
void EthernetInitExpClk(unsigned long ulBase, unsigned long ulEthClk)
/* This function replaces the original EthernetInit() API and performs the same actions. A macro is provided in  */
void EthernetInitExpClk(unsigned long ulBase, unsigned long ulEthClk)
{
    unsigned long ulDiv;
    ASSERT(ulBase == ETH_BASE);
    ulDiv = (ulEthClk / 2) / 2500000;
    HWREG(ulBase + MAC_O_MDV) = (ulDiv & MAC_MDV_DIV_M);
}