dme_write
dme_write(sc, DM9000_GPR, misc | DM9000_GPR_PHY_PWROFF);
dme_write(sc, DM9000_NCR,
dme_write(sc, DM9000_NCR, 0x0);
dme_write(sc, DM9000_GPR, misc & ~DM9000_GPR_PHY_PWROFF);
dme_write(sc, DM9000_GPCR, misc | DM9000_GPCR_GPIO0_OUT);
dme_write(sc, DM9000_NCR,
dme_write(sc, DM9000_NCR, 0x0);
dme_write(sc, DM9000_NCR, DM9000_NCR_LBK_NORMAL);
dme_write(sc, DM9000_IMR,
dme_write(sc, DM9000_RCR,
dme_write(sc, DM9000_RCR, rcr &~ DM9000_RCR_RXEN);
dme_write(sc, DM9000_RCR, rcr | DM9000_RCR_RXEN);
dme_write(sc, DM9000_FCR, fcr);
dme_write(sc, DM9000_NCR, ncr);
dme_write(sc, DM9000_EPAR, DM9000_EPAR_INT_PHY +
dme_write(sc, DM9000_EPCR, DM9000_EPCR_ERPRR + DM9000_EPCR_EPOS_PHY);
dme_write(sc, DM9000_EPCR, DM9000_EPCR_EPOS_PHY);
dme_write(sc, DM9000_EPAR, DM9000_EPAR_INT_PHY +
dme_write(sc, DM9000_EPDRL, val & 0xFF);
dme_write(sc, DM9000_EPDRH, (val >> 8) & 0xFF);
dme_write(sc, DM9000_EPCR, DM9000_EPCR_ERPRW + DM9000_EPCR_EPOS_PHY);
dme_write(sc, DM9000_EPCR, DM9000_EPCR_EPOS_PHY);
dme_write(sc, DM9000_RCR, 0x0);
dme_write(sc, DM9000_TXPLL, sc->txready_length & 0xff);
dme_write(sc, DM9000_TXPLH, (sc->txready_length >> 8) & 0xff);
dme_write(sc, DM9000_TCR, DM9000_TCR_TXREQ);
dme_write(sc, DM9000_IMR, DM9000_IMR_PAR);
dme_write(sc, DM9000_ISR, isr); /* write to clear */
dme_write(sc, DM9000_IMR,
dme_write(sc, reg+i, value[i]);