diff options
author | Jason Wright <jason@cvs.openbsd.org> | 1999-10-14 18:28:40 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 1999-10-14 18:28:40 +0000 |
commit | 5dda7f90579b98c0253e7f32955288967f5f3ef2 (patch) | |
tree | e9a1bfa09dd8aa858e3b947df67d1a169ed03c6d /sys/dev/pci/if_fxp.c | |
parent | 8869710bd75df6bd6b8c7bc99aec2ca810e4f98c (diff) |
tick tock the mii clock during the stats update
Diffstat (limited to 'sys/dev/pci/if_fxp.c')
-rw-r--r-- | sys/dev/pci/if_fxp.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/pci/if_fxp.c b/sys/dev/pci/if_fxp.c index 25af2b57aac..e5c3662967c 100644 --- a/sys/dev/pci/if_fxp.c +++ b/sys/dev/pci/if_fxp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_fxp.c,v 1.20 1999/10/09 19:45:02 downsj Exp $ */ +/* $OpenBSD: if_fxp.c,v 1.21 1999/10/14 18:28:39 jason Exp $ */ /* $NetBSD: if_fxp.c,v 1.2 1997/06/05 02:01:55 thorpej Exp $ */ /* @@ -1173,6 +1173,10 @@ fxp_stats_update(arg) sp->rx_rnr_errors = 0; sp->rx_overrun_errors = 0; } + + /* Tick the MII clock. */ + mii_tick(&sc->sc_mii); + splx(s); /* * Schedule another timeout one second from now. |