/* Waits to send a packet from the Ethernet controller. */
long EthernetPacketPut(unsigned long ulBase, unsigned char *pucBuf, long lBufLen)
/* Waits to send a packet from the Ethernet controller. */
long EthernetPacketPut(unsigned long ulBase, unsigned char *pucBuf, long lBufLen)
{
    ASSERT(ulBase == ETH_BASE);
    ASSERT(pucBuf != 0);
    ASSERT(lBufLen > 0);
    while(HWREG(ulBase + MAC_O_TR) & MAC_TR_NEWTX)
    {
    }
    return(EthernetPacketPutInternal(ulBase, pucBuf, lBufLen));
}