ether3_inw
while ((ether3_inw(REG_STATUS) & STAT_FIFOEMPTY) == 0) {
while (ether3_inw(REG_STATUS) & (STAT_RXON|STAT_TXON))
read_val = ether3_inw(REG_RECVPTR);
while (ether3_inw(REG_STATUS) & (STAT_RXON|STAT_TXON))
ether3_inw(REG_STATUS), ether3_inw(REG_CONFIG1), ether3_inw(REG_CONFIG2));
ether3_inw(REG_RECVPTR), ether3_inw(REG_RECVEND), ether3_inw(REG_TRANSMITPTR));
if (!(ether3_inw(REG_STATUS) & STAT_TXON)) {
status = ether3_inw(REG_STATUS);
if (!(ether3_inw(REG_STATUS) & STAT_RXON)) {