/* Checks for packet space available in the Ethernet controller. */
tBoolean EthernetSpaceAvail(unsigned long ulBase)
/* Checks for packet space available in the Ethernet controller. */
tBoolean EthernetSpaceAvail(unsigned long ulBase)
{
    ASSERT(ulBase == ETH_BASE);
    return((HWREG(ulBase + MAC_O_TR) & MAC_TR_NEWTX) ? false : true);
}