From a1536822a00c107949772c22d9e2d2d60257f121 Mon Sep 17 00:00:00 2001 From: marius Date: Wed, 6 Dec 2006 02:14:31 +0000 Subject: Use our own callout instead of if_slowtimo() for driving lance_watchdog() in order to avoid races accessing if_timer. --- sys/dev/le/lancevar.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/dev/le/lancevar.h') diff --git a/sys/dev/le/lancevar.h b/sys/dev/le/lancevar.h index 1c2142b..b524596 100644 --- a/sys/dev/le/lancevar.h +++ b/sys/dev/le/lancevar.h @@ -48,6 +48,8 @@ struct lance_softc { struct ifnet *sc_ifp; struct ifmedia sc_media; struct mtx sc_mtx; + struct callout sc_wdog_ch; + int sc_wdog_timer; /* * Memory functions: -- cgit v1.1