Deleted Added
full compact
if_xevar.h (90962) if_xevar.h (121099)
1/*-
2 * Copyright (c) 1998, 1999 Scott Mitchell
3 * 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

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

19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $Id: if_xe.c,v 1.20 1999/06/13 19:17:40 scott Exp $
1/*-
2 * Copyright (c) 1998, 1999 Scott Mitchell
3 * 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

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

19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $Id: if_xe.c,v 1.20 1999/06/13 19:17:40 scott Exp $
27 * $FreeBSD: head/sys/dev/xe/if_xevar.h 90962 2002-02-20 14:23:58Z shiba $
27 * $FreeBSD: head/sys/dev/xe/if_xevar.h 121099 2003-10-14 22:51:35Z rsm $
28 */
29#ifndef DEV_XE_IF_XEDEV_H
30#define DEV_XE_IF_XEDEV_H
31
32/*
33 * One of these structures per allocated device
34 */
35struct xe_softc {

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

44 device_t dev; /* Device */
45 bus_space_tag_t bst; /* Bus space tag for card */
46 bus_space_handle_t bsh; /* Bus space handle for card */
47 void *intrhand;
48 struct resource *irq_res;
49 int irq_rid;
50 struct resource *port_res;
51 int port_rid;
28 */
29#ifndef DEV_XE_IF_XEDEV_H
30#define DEV_XE_IF_XEDEV_H
31
32/*
33 * One of these structures per allocated device
34 */
35struct xe_softc {

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

44 device_t dev; /* Device */
45 bus_space_tag_t bst; /* Bus space tag for card */
46 bus_space_handle_t bsh; /* Bus space handle for card */
47 void *intrhand;
48 struct resource *irq_res;
49 int irq_rid;
50 struct resource *port_res;
51 int port_rid;
52 struct resource *ce2_port_res;
53 int ce2_port_rid;
52 int srev; /* Silicon revision */
53 int tx_queued; /* Packets currently waiting to transmit */
54 int tx_tpr; /* Last value of TPR reg on card */
54 int srev; /* Silicon revision */
55 int tx_queued; /* Packets currently waiting to transmit */
56 int tx_tpr; /* Last value of TPR reg on card */
55 int tx_collisions; /* Collisions since last successful send */
56 int tx_timeouts; /* Count of transmit timeouts */
57 int tx_timeouts; /* Count of transmit timeouts */
58 u_int16_t tx_min; /* Smallest packet we can send without padding */
59 u_int16_t tx_thres; /* Threshold bytes for early transmit */
57 int autoneg_status; /* Autonegotiation progress state */
58 int media; /* Private media word */
59 u_char version; /* Bonding Version register from card */
60 u_char modem; /* 1 = Card has a modem */
61 u_char ce2; /* 1 = Card has CE2 silicon */
62 u_char mohawk; /* 1 = Card has Mohawk (CE3) silicon */
63 u_char dingo; /* 1 = Card has Dingo (CEM56) silicon */
64 u_char phy_ok; /* 1 = MII-compliant PHY found and initialised */

--- 25 unchanged lines hidden ---
60 int autoneg_status; /* Autonegotiation progress state */
61 int media; /* Private media word */
62 u_char version; /* Bonding Version register from card */
63 u_char modem; /* 1 = Card has a modem */
64 u_char ce2; /* 1 = Card has CE2 silicon */
65 u_char mohawk; /* 1 = Card has Mohawk (CE3) silicon */
66 u_char dingo; /* 1 = Card has Dingo (CEM56) silicon */
67 u_char phy_ok; /* 1 = MII-compliant PHY found and initialised */

--- 25 unchanged lines hidden ---