/* Check for packet available from the Ethernet controller. */
tBoolean EthernetPacketAvail(unsigned long ulBase)
/* Check for packet available from the Ethernet controller. */
tBoolean EthernetPacketAvail(unsigned long ulBase)
{
    ASSERT(ulBase == ETH_BASE);
    return((HWREG(ulBase + MAC_O_NP) & MAC_NP_NPR_M) ? true : false);
}