RGE_READ_2
RGE_READ_2(sc, RGE_CPLUSCMD);
status = RGE_READ_2(sc, RGE_PHYSTAT);
if ((RGE_READ_2(sc, RGE_IM) & 0x0103) == 0x0103)
*(uint16_t *)&addr[4] = RGE_READ_2(sc, RGE_ADDR1);
if (RGE_READ_2(sc, RGE_TWICMD) & 0x0200)
if (RGE_READ_2(sc, RGE_TWICMD) & 0x0200)
return ((RGE_READ_2(sc, RGE_PHYSTAT) & RGE_PHYSTAT_LINK) ? 1 : 0);
val = RGE_READ_2(sc, RGE_RXQUEUE_CTRL) & ~0x001c;
RGE_WRITE_2(sc, reg, RGE_READ_2(sc, reg) | (val))
RGE_WRITE_2(sc, reg, RGE_READ_2(sc, reg) & ~(val))