summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/rtl81x9.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/ic/rtl81x9.c b/sys/dev/ic/rtl81x9.c
index bdcfe83046f..da531faf61e 100644
--- a/sys/dev/ic/rtl81x9.c
+++ b/sys/dev/ic/rtl81x9.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtl81x9.c,v 1.65 2009/07/18 11:24:39 sthen Exp $ */
+/* $OpenBSD: rtl81x9.c,v 1.66 2009/07/21 07:30:18 sthen Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -1016,7 +1016,6 @@ void rl_init(xsc)
splx(s);
- timeout_set(&sc->sc_tick_tmo, rl_tick, sc);
timeout_add_sec(&sc->sc_tick_tmo, 1);
}
@@ -1256,6 +1255,8 @@ rl_attach(sc)
ifp->if_capabilities = IFCAP_VLAN_MTU;
+ timeout_set(&sc->sc_tick_tmo, rl_tick, sc);
+
/*
* Initialize our media structures and probe the MII.
*/