summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_tlreg.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2005-09-15 17:12:29 +0000
committerjhb <jhb@FreeBSD.org>2005-09-15 17:12:29 +0000
commit977932f9e5f9828562c169edd6bea59f44ff9308 (patch)
treea5bc3a6562091ac9151aa225f62792b2819d7727 /sys/pci/if_tlreg.h
parentcde6672474c8f8ad8688f3c6f1d1f35cb3d29539 (diff)
downloadFreeBSD-src-977932f9e5f9828562c169edd6bea59f44ff9308.zip
FreeBSD-src-977932f9e5f9828562c169edd6bea59f44ff9308.tar.gz
- Fixup locking and mark MPSAFE.
- Use callout_init_mtx() and static callouts rather than timeout(). - m_getcl() in one place to simplify the code. Tested by: Gavin Atkinson gavin dot atkinson at ury dot york dot ac dot uk MFC after: 1 week
Diffstat (limited to 'sys/pci/if_tlreg.h')
-rw-r--r--sys/pci/if_tlreg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/if_tlreg.h b/sys/pci/if_tlreg.h
index 792ba70..7f3dfb9 100644
--- a/sys/pci/if_tlreg.h
+++ b/sys/pci/if_tlreg.h
@@ -124,7 +124,7 @@ struct tl_softc {
u_int8_t tl_txeoc;
u_int8_t tl_bitrate;
int tl_if_flags;
- struct callout_handle tl_stat_ch;
+ struct callout tl_stat_callout;
struct mtx tl_mtx;
};
OpenPOWER on IntegriCloud