WB_SIO
write32(device->reg_base + WB_SIO, 0);
ack = read32(device->reg_base + WB_SIO) & WB_SIO_MII_DATAOUT;
if (read32(device->reg_base + WB_SIO) & WB_SIO_MII_DATAOUT)
#define EEPROM_DELAY(x) read32(x->reg_base + WB_SIO)
write32(device->reg_base + WB_SIO, WB_SIO_EESEL|WB_SIO_EE_CS);
write32(device->reg_base + WB_SIO, WB_SIO_EESEL|WB_SIO_EE_CS);
if (read32(device->reg_base + WB_SIO) & WB_SIO_EE_DATAOUT)
write32(device->reg_base + WB_SIO, 0);
write32(device->reg_base + WB_SIO, \
read32(device->reg_base + WB_SIO) | x)
write32(device->reg_base + WB_SIO, \
read32(device->reg_base + WB_SIO) & ~x)
#define MII_DELAY(x) read32(x->reg_base + WB_SIO)