diff options
author | John Baldwin <jhb@FreeBSD.org> | 2009-11-19 22:06:40 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2009-11-19 22:06:40 +0000 |
commit | 7cf545d0a16bce3e3ecda172a69504aee58f3e14 (patch) | |
tree | 8407585eec2a1c0c6cadd011a7eb682949649bde /sys/dev/sn/if_snvar.h | |
parent | d95121b427cb7f0cc2c2f253e8dc37e8850b4198 (diff) | |
download | src-7cf545d0a16bce3e3ecda172a69504aee58f3e14.tar.gz src-7cf545d0a16bce3e3ecda172a69504aee58f3e14.zip |
- Add a private timer to drive the transmit watchdog instead of using
if_watchdog and if_timer.
- Fix some issues in detach for sn(4), ste(4), and ti(4). Primarily this
means calling ether_ifdetach() before anything else.
Notes
Notes:
svn path=/head/; revision=199559
Diffstat (limited to 'sys/dev/sn/if_snvar.h')
-rw-r--r-- | sys/dev/sn/if_snvar.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/sn/if_snvar.h b/sys/dev/sn/if_snvar.h index 79fc6e81b9c3..bd4f31285c65 100644 --- a/sys/dev/sn/if_snvar.h +++ b/sys/dev/sn/if_snvar.h @@ -33,6 +33,8 @@ struct sn_softc { struct ifnet *ifp; struct mtx sc_mtx; + struct callout watchdog; + int timer; int pages_wanted; /* Size of outstanding MMU ALLOC */ int intr_mask; /* Most recently set interrupt mask */ device_t dev; |