mdi_write
nic->mdio_ctrl(nic, addr, mdi_write, reg, data);
if ((reg == MII_BMCR) && (dir == mdi_write)) {