Deleted Added
full compact
if_anreg.h (108401) if_anreg.h (110253)
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/an/if_anreg.h 108401 2002-12-29 19:22:07Z ambrisko $
32 * $FreeBSD: head/sys/dev/an/if_anreg.h 110253 2003-02-02 22:49:31Z ambrisko $
33 */
34
35#define AN_TIMEOUT 600000
36
37/* Default network name: <empty string> */
38#define AN_DEFAULT_NETNAME ""
39
40/* The nodename must be less than 16 bytes */

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

118#define AN_CMD_CODE_MASK 0x003F
119#define AN_CMD_QUAL_MASK 0x7F00
120
121/* Command codes */
122#define AN_CMD_NOOP 0x0000 /* no-op */
123#define AN_CMD_ENABLE 0x0001 /* enable */
124#define AN_CMD_DISABLE 0x0002 /* disable */
125#define AN_CMD_FORCE_SYNCLOSS 0x0003 /* force loss of sync */
33 */
34
35#define AN_TIMEOUT 600000
36
37/* Default network name: <empty string> */
38#define AN_DEFAULT_NETNAME ""
39
40/* The nodename must be less than 16 bytes */

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

118#define AN_CMD_CODE_MASK 0x003F
119#define AN_CMD_QUAL_MASK 0x7F00
120
121/* Command codes */
122#define AN_CMD_NOOP 0x0000 /* no-op */
123#define AN_CMD_ENABLE 0x0001 /* enable */
124#define AN_CMD_DISABLE 0x0002 /* disable */
125#define AN_CMD_FORCE_SYNCLOSS 0x0003 /* force loss of sync */
126#define AN_CMD_FW_RESTART 0x0004 /* firmware resrart */
126#define AN_CMD_FW_RESTART 0x0004 /* firmware restart */
127#define AN_CMD_HOST_SLEEP 0x0005
128#define AN_CMD_MAGIC_PKT 0x0006
129#define AN_CMD_READCFG 0x0008
130#define AN_CMD_SET_MODE 0x0009
131#define AN_CMD_ALLOC_MEM 0x000A /* allocate NIC memory */
132#define AN_CMD_TX 0x000B /* transmit */
133#define AN_CMD_DEALLOC_MEM 0x000C
134#define AN_CMD_NOOP2 0x0010

--- 411 unchanged lines hidden ---
127#define AN_CMD_HOST_SLEEP 0x0005
128#define AN_CMD_MAGIC_PKT 0x0006
129#define AN_CMD_READCFG 0x0008
130#define AN_CMD_SET_MODE 0x0009
131#define AN_CMD_ALLOC_MEM 0x000A /* allocate NIC memory */
132#define AN_CMD_TX 0x000B /* transmit */
133#define AN_CMD_DEALLOC_MEM 0x000C
134#define AN_CMD_NOOP2 0x0010

--- 411 unchanged lines hidden ---