Deleted Added
full compact
if_wireg.h (70073) if_wireg.h (72200)
1/*
2 * Copyright (c) 1997, 1998, 1999
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, 1999
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/wi/if_wireg.h 70073 2000-12-15 23:34:13Z wpaul $
32 * $FreeBSD: head/sys/dev/wi/if_wireg.h 72200 2001-02-09 06:11:45Z bmilekic $
33 */
34
35struct wi_counters {
36 u_int32_t wi_tx_unicast_frames;
37 u_int32_t wi_tx_multicast_frames;
38 u_int32_t wi_tx_fragments;
39 u_int32_t wi_tx_unicast_octets;
40 u_int32_t wi_tx_multicast_octets;

--- 82 unchanged lines hidden (view full) ---

123 struct wi_sigcache wi_sigcache[MAXWICACHE];
124 int wi_nextitem;
125#endif
126 struct callout_handle wi_stat_ch;
127 struct mtx wi_mtx;
128 int wi_prism2; /* set to 1 if it uses a Prism II chip */
129};
130
33 */
34
35struct wi_counters {
36 u_int32_t wi_tx_unicast_frames;
37 u_int32_t wi_tx_multicast_frames;
38 u_int32_t wi_tx_fragments;
39 u_int32_t wi_tx_unicast_octets;
40 u_int32_t wi_tx_multicast_octets;

--- 82 unchanged lines hidden (view full) ---

123 struct wi_sigcache wi_sigcache[MAXWICACHE];
124 int wi_nextitem;
125#endif
126 struct callout_handle wi_stat_ch;
127 struct mtx wi_mtx;
128 int wi_prism2; /* set to 1 if it uses a Prism II chip */
129};
130
131#define WI_LOCK(_sc) mtx_enter(&(_sc)->wi_mtx, MTX_DEF)
132#define WI_UNLOCK(_sc) mtx_exit(&(_sc)->wi_mtx, MTX_DEF)
131#define WI_LOCK(_sc) mtx_lock(&(_sc)->wi_mtx)
132#define WI_UNLOCK(_sc) mtx_unlock(&(_sc)->wi_mtx)
133
134#define WI_TIMEOUT 65536
135
136#define WI_PORT0 0
137#define WI_PORT1 1
138#define WI_PORT2 2
139#define WI_PORT3 3
140#define WI_PORT4 4

--- 508 unchanged lines hidden ---
133
134#define WI_TIMEOUT 65536
135
136#define WI_PORT0 0
137#define WI_PORT1 1
138#define WI_PORT2 2
139#define WI_PORT3 3
140#define WI_PORT4 4

--- 508 unchanged lines hidden ---