summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1999-09-06 19:42:02 +0000
committerwpaul <wpaul@FreeBSD.org>1999-09-06 19:42:02 +0000
commit9a26a2aefb59507f8bd8e78dc6df37d8c4623cbb (patch)
tree26beb2f90582d009d96ed811d4398be175177e68 /sys
parent5b7782e8c099452cd2c9002af195a8b20be04c36 (diff)
downloadFreeBSD-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.c2
-rw-r--r--sys/pci/if_sis.c1
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);
OpenPOWER on IntegriCloud