aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/le/lancevar.h
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2006-12-06 02:14:31 +0000
committerMarius Strobl <marius@FreeBSD.org>2006-12-06 02:14:31 +0000
commitfc64bae41b4db902e613390b358e745ad056fe08 (patch)
treea4c29cf5bf2eedf47d912df9f3b10e8f17adf9a9 /sys/dev/le/lancevar.h
parent05856e0b8faac74b9b8cfa36dbae267ad0d58001 (diff)
downloadsrc-fc64bae41b4db902e613390b358e745ad056fe08.tar.gz
src-fc64bae41b4db902e613390b358e745ad056fe08.zip
Use our own callout instead of if_slowtimo() for driving lance_watchdog()
in order to avoid races accessing if_timer.
Notes
Notes: svn path=/head/; revision=164933
Diffstat (limited to 'sys/dev/le/lancevar.h')
-rw-r--r--sys/dev/le/lancevar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/le/lancevar.h b/sys/dev/le/lancevar.h
index 1c2142b77250..b5245961084d 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: