/* Return Value: TRUE if all values are the same; otherwise FALSE  */
BOOL MACbCompareContext(DWORD_PTR dwIoBase, PBYTE pbyCxtBuf)
/* Return Value: TRUE if all values are the same; otherwise FALSE  */
BOOL MACbCompareContext(DWORD_PTR dwIoBase, PBYTE pbyCxtBuf)
{
    DWORD       dwData;
    VNSvInPortD(dwIoBase + MAC_REG_TXDMAPTR0, &dwData);
    if (dwData != *(PDWORD)(pbyCxtBuf + MAC_REG_TXDMAPTR0)) {
        return FALSE;
    }
    VNSvInPortD(dwIoBase + MAC_REG_AC0DMAPTR, &dwData);
    if (dwData != *(PDWORD)(pbyCxtBuf + MAC_REG_AC0DMAPTR)) {
        return FALSE;
    }
    VNSvInPortD(dwIoBase + MAC_REG_RXDMAPTR0, &dwData);
    if (dwData != *(PDWORD)(pbyCxtBuf + MAC_REG_RXDMAPTR0)) {
        return FALSE;
    }
    VNSvInPortD(dwIoBase + MAC_REG_RXDMAPTR1, &dwData);
    if (dwData != *(PDWORD)(pbyCxtBuf + MAC_REG_RXDMAPTR1)) {
        return FALSE;
    }
    return TRUE;
}