diff options
author | wpaul <wpaul@FreeBSD.org> | 1999-09-06 19:42:02 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1999-09-06 19:42:02 +0000 |
commit | 9a26a2aefb59507f8bd8e78dc6df37d8c4623cbb (patch) | |
tree | 26beb2f90582d009d96ed811d4398be175177e68 /sys | |
parent | 5b7782e8c099452cd2c9002af195a8b20be04c36 (diff) | |
download | FreeBSD-src-9a26a2aefb59507f8bd8e78dc6df37d8c4623cbb.zip FreeBSD-src-9a26a2aefb59507f8bd8e78dc6df37d8c4623cbb.tar.gz |
Remember to re-arm the timeout for the tick routine.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/pci/if_dm.c | 2 | ||||
-rw-r--r-- | sys/pci/if_sis.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/sys/pci/if_dm.c b/sys/pci/if_dm.c index 9338bf7..9f9511e 100644 --- a/sys/pci/if_dm.c +++ b/sys/pci/if_dm.c @@ -1226,6 +1226,8 @@ static void dm_tick(xsc) mii = device_get_softc(sc->dm_miibus); mii_tick(mii); + sc->dm_stat_ch = timeout(dm_tick, sc, hz); + splx(s); return; diff --git a/sys/pci/if_sis.c b/sys/pci/if_sis.c index 00c3a23..daeb06c 100644 --- a/sys/pci/if_sis.c +++ b/sys/pci/if_sis.c @@ -1021,6 +1021,7 @@ static void sis_tick(xsc) sc = xsc; mii = device_get_softc(sc->sis_miibus); mii_tick(mii); + sc->sis_stat_ch = timeout(sis_tick, sc, hz); splx(s); |