version 1.23, 2012/02/02 19:43:02 |
version 1.23.6.1, 2017/12/03 11:37:03 |
Line 114 __KERNEL_RCSID(0, "$NetBSD$"); |
|
Line 114 __KERNEL_RCSID(0, "$NetBSD$"); |
|
#include <sys/malloc.h> |
#include <sys/malloc.h> |
#include <sys/ioctl.h> |
#include <sys/ioctl.h> |
#include <sys/errno.h> |
#include <sys/errno.h> |
#include <sys/rnd.h> |
#include <sys/rndsource.h> |
|
|
#include <net/if.h> |
#include <net/if.h> |
#include <net/if_dl.h> |
#include <net/if_dl.h> |
Line 152 am79900_config(struct am79900_softc *sc) |
|
Line 152 am79900_config(struct am79900_softc *sc) |
|
sc->lsc.sc_start = am79900_start; |
sc->lsc.sc_start = am79900_start; |
|
|
lance_config(&sc->lsc); |
lance_config(&sc->lsc); |
|
if_deferred_start_init(&sc->lsc.sc_ethercom.ec_if, NULL); |
|
|
mem = 0; |
mem = 0; |
sc->lsc.sc_initaddr = mem; |
sc->lsc.sc_initaddr = mem; |
Line 387 am79900_tint(struct lance_softc *sc) |
|
Line 388 am79900_tint(struct lance_softc *sc) |
|
|
|
sc->sc_first_td = bix; |
sc->sc_first_td = bix; |
|
|
am79900_start(ifp); |
if_schedule_deferred_start(ifp); |
|
|
if (sc->sc_no_td == 0) |
if (sc->sc_no_td == 0) |
ifp->if_timer = 0; |
ifp->if_timer = 0; |