Return to lance.c CVS log | Up to [cvs.NetBSD.org] / src / sys / dev / ic |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.27, 2002/09/03 14:48:16 | version 1.28, 2003/01/31 17:40:05 | ||
---|---|---|---|
|
|
||
if ((*sc->sc_rdcsr)(sc, LE_CSR0) & LE_C0_IDON) { | if ((*sc->sc_rdcsr)(sc, LE_CSR0) & LE_C0_IDON) { | ||
/* Start the LANCE. */ | /* Start the LANCE. */ | ||
(*sc->sc_wrcsr)(sc, LE_CSR0, LE_C0_INEA | LE_C0_STRT | | (*sc->sc_wrcsr)(sc, LE_CSR0, LE_C0_INEA | LE_C0_STRT); | ||
LE_C0_IDON); | |||
ifp->if_flags |= IFF_RUNNING; | ifp->if_flags |= IFF_RUNNING; | ||
ifp->if_flags &= ~IFF_OACTIVE; | ifp->if_flags &= ~IFF_OACTIVE; | ||
ifp->if_timer = 0; | ifp->if_timer = 0; |