if_tlreg.h (199414) | if_tlreg.h (199560) |
---|---|
1/*- 2 * Copyright (c) 1997, 1998 3 * Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 15 unchanged lines hidden (view full) --- 24 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 30 * THE POSSIBILITY OF SUCH DAMAGE. 31 * | 1/*- 2 * Copyright (c) 1997, 1998 3 * Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 15 unchanged lines hidden (view full) --- 24 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 30 * THE POSSIBILITY OF SUCH DAMAGE. 31 * |
32 * $FreeBSD: head/sys/dev/tl/if_tlreg.h 199414 2009-11-17 18:22:14Z jhb $ | 32 * $FreeBSD: head/sys/dev/tl/if_tlreg.h 199560 2009-11-19 22:14:23Z jhb $ |
33 */ 34 35 36struct tl_type { 37 u_int16_t tl_vid; 38 u_int16_t tl_did; 39 char *tl_name; 40}; --- 79 unchanged lines hidden (view full) --- 120 u_int8_t tl_eeaddr; 121 struct tl_list_data *tl_ldata; /* TX/RX lists and mbufs */ 122 struct tl_chain_data tl_cdata; 123 u_int8_t tl_txeoc; 124 u_int8_t tl_bitrate; 125 int tl_if_flags; 126 struct callout tl_stat_callout; 127 struct mtx tl_mtx; | 33 */ 34 35 36struct tl_type { 37 u_int16_t tl_vid; 38 u_int16_t tl_did; 39 char *tl_name; 40}; --- 79 unchanged lines hidden (view full) --- 120 u_int8_t tl_eeaddr; 121 struct tl_list_data *tl_ldata; /* TX/RX lists and mbufs */ 122 struct tl_chain_data tl_cdata; 123 u_int8_t tl_txeoc; 124 u_int8_t tl_bitrate; 125 int tl_if_flags; 126 struct callout tl_stat_callout; 127 struct mtx tl_mtx; |
128 int tl_timer; |
|
128}; 129 130#define TL_LOCK(_sc) mtx_lock(&(_sc)->tl_mtx) 131#define TL_UNLOCK(_sc) mtx_unlock(&(_sc)->tl_mtx) 132#define TL_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->tl_mtx, MA_OWNED) 133 134/* 135 * Transmit interrupt threshold. --- 449 unchanged lines hidden --- | 129}; 130 131#define TL_LOCK(_sc) mtx_lock(&(_sc)->tl_mtx) 132#define TL_UNLOCK(_sc) mtx_unlock(&(_sc)->tl_mtx) 133#define TL_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->tl_mtx, MA_OWNED) 134 135/* 136 * Transmit interrupt threshold. --- 449 unchanged lines hidden --- |