summaryrefslogtreecommitdiffstats
path: root/sys/dev/le/am79900.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/le/am79900.c')
-rw-r--r--sys/dev/le/am79900.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/le/am79900.c b/sys/dev/le/am79900.c
index 7246df3..abaed2d 100644
--- a/sys/dev/le/am79900.c
+++ b/sys/dev/le/am79900.c
@@ -423,7 +423,7 @@ am79900_tint(struct lance_softc *sc)
sc->sc_first_td = bix;
- ifp->if_timer = sc->sc_no_td > 0 ? 5 : 0;
+ sc->sc_wdog_timer = sc->sc_no_td > 0 ? 5 : 0;
}
/*
@@ -614,7 +614,7 @@ am79900_start_locked(struct lance_softc *sc)
sc->sc_last_td = bix;
if (enq > 0)
- ifp->if_timer = 5;
+ sc->sc_wdog_timer = 5;
}
#ifdef LEDEBUG
OpenPOWER on IntegriCloud