diff options
author | John Baldwin <jhb@FreeBSD.org> | 2009-11-19 22:14:23 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2009-11-19 22:14:23 +0000 |
commit | e55bc0154dddb1fa0087f2858229691bbf6b5429 (patch) | |
tree | 56a1666c810529df49b7c20e9c73407f13a80405 /sys/dev/pcn/if_pcnreg.h | |
parent | 7cf545d0a16bce3e3ecda172a69504aee58f3e14 (diff) | |
download | src-e55bc0154dddb1fa0087f2858229691bbf6b5429.tar.gz src-e55bc0154dddb1fa0087f2858229691bbf6b5429.zip |
- Hook into the existing stat timer to drive the transmit watchdog instead
of using if_watchdog and if_timer.
- Reorder detach to call ether_ifdetach() before anything else in tl(4)
and wb(4).
Notes
Notes:
svn path=/head/; revision=199560
Diffstat (limited to 'sys/dev/pcn/if_pcnreg.h')
-rw-r--r-- | sys/dev/pcn/if_pcnreg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/pcn/if_pcnreg.h b/sys/dev/pcn/if_pcnreg.h index 406d4380be01..a10edfd76aa4 100644 --- a/sys/dev/pcn/if_pcnreg.h +++ b/sys/dev/pcn/if_pcnreg.h @@ -465,6 +465,7 @@ struct pcn_softc { struct pcn_ring_data pcn_cdata; struct callout pcn_stat_callout; struct mtx pcn_mtx; + int pcn_timer; }; #define PCN_LOCK(_sc) mtx_lock(&(_sc)->pcn_mtx) |