diff options
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ic/rtl81x9.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/ic/rtl81x9.c b/sys/dev/ic/rtl81x9.c index e283e876347..47f2e3e033d 100644 --- a/sys/dev/ic/rtl81x9.c +++ b/sys/dev/ic/rtl81x9.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtl81x9.c,v 1.56 2007/05/08 18:49:32 deraadt Exp $ */ +/* $OpenBSD: rtl81x9.c,v 1.57 2008/01/22 09:19:11 brad Exp $ */ /* * Copyright (c) 1997, 1998 @@ -1470,8 +1470,11 @@ rl_tick(v) void *v; { struct rl_softc *sc = v; + int s; + s = splnet(); mii_tick(&sc->sc_mii); + splx(s); timeout_add(&sc->sc_tick_tmo, hz); } |