From 7ce9726a7db3d20c461d36f67d6383abc0f62873 Mon Sep 17 00:00:00 2001 From: thorpej Date: Sat, 15 Aug 1998 17:04:52 +0000 Subject: [PATCH] Oops, don't forget to tick the MII once a second. --- sys/dev/pci/if_tl.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys/dev/pci/if_tl.c b/sys/dev/pci/if_tl.c index 5fe935306d26..cd3fedfd0485 100644 --- a/sys/dev/pci/if_tl.c +++ b/sys/dev/pci/if_tl.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_tl.c,v 1.18 1998/08/15 16:58:53 bouyer Exp $ */ +/* $NetBSD: if_tl.c,v 1.19 1998/08/15 17:04:52 thorpej Exp $ */ /* * Copyright (c) 1997 Manuel Bouyer. All rights reserved. @@ -1448,6 +1448,10 @@ static void tl_ticks(v) tl_softc_t *sc = v; tl_read_stats(sc); + + /* Tick the MII. */ + mii_tick(&sc->tl_mii); + if (sc->opkt > 0) { if (sc->oerr_exesscoll > sc->opkt / 100) { /* exess collisions */