XIRCREG_ESR
eth_status = GetByte(XIRCREG_ESR);
eth_status = GetByte(XIRCREG_ESR);
value = GetByte(XIRCREG_ESR); /* read the ESR */
value = GetByte(XIRCREG_ESR); /* read the ESR */
dev->if_port = (GetByte(XIRCREG_ESR) & MediaSelect) ? 1 : 2;