summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2002-10-15 23:25:56 +0000
committersam <sam@FreeBSD.org>2002-10-15 23:25:56 +0000
commit4cf0d794211b208cf47ace3a4fa89b73d19f5d43 (patch)
tree92275afbca0f9aae62abea1207ce2d7017cf7f4f /sys
parentff07b9388485cf3976bb4a83c73b35f5b94647f0 (diff)
downloadFreeBSD-src-4cf0d794211b208cf47ace3a4fa89b73d19f5d43.zip
FreeBSD-src-4cf0d794211b208cf47ace3a4fa89b73d19f5d43.tar.gz
missed additional callout that can run w/o Giant locked
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/hifn/hifn7751.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/hifn/hifn7751.c b/sys/dev/hifn/hifn7751.c
index 2aad05a..c98b326 100644
--- a/sys/dev/hifn/hifn7751.c
+++ b/sys/dev/hifn/hifn7751.c
@@ -658,7 +658,8 @@ hifn_init_pubrng(struct hifn_softc *sc)
sc->sc_rnghz = hz / 100;
else
sc->sc_rnghz = 1;
- callout_init(&sc->sc_rngto, 0);
+ /* NB: 1 means the callout runs w/o Giant locked */
+ callout_init(&sc->sc_rngto, 1);
callout_reset(&sc->sc_rngto, sc->sc_rnghz, hifn_rng, sc);
}
OpenPOWER on IntegriCloud