if_dcreg.h (218789) | if_dcreg.h (218820) |
---|---|
1/*- 2 * Copyright (c) 1997, 1998, 1999 3 * Bill Paul <wpaul@ee.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@ee.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/dc/if_dcreg.h 218789 2011-02-18 03:37:53Z yongari $ | 32 * $FreeBSD: head/sys/dev/dc/if_dcreg.h 218820 2011-02-18 20:38:05Z yongari $ |
33 */ 34 35/* 36 * 21143 and clone common register definitions. 37 */ 38 39#define DC_BUSCTL 0x00 /* bus control */ 40#define DC_TXSTART 0x08 /* tx start demand */ --- 449 unchanged lines hidden (view full) --- 490 491struct dc_chain_data { 492 struct mbuf *dc_rx_chain[DC_RX_LIST_CNT]; 493 struct mbuf *dc_tx_chain[DC_TX_LIST_CNT]; 494 bus_dmamap_t dc_rx_map[DC_RX_LIST_CNT]; 495 bus_dmamap_t dc_tx_map[DC_TX_LIST_CNT]; 496 u_int32_t *dc_sbuf; 497 u_int8_t dc_pad[DC_MIN_FRAMELEN]; | 33 */ 34 35/* 36 * 21143 and clone common register definitions. 37 */ 38 39#define DC_BUSCTL 0x00 /* bus control */ 40#define DC_TXSTART 0x08 /* tx start demand */ --- 449 unchanged lines hidden (view full) --- 490 491struct dc_chain_data { 492 struct mbuf *dc_rx_chain[DC_RX_LIST_CNT]; 493 struct mbuf *dc_tx_chain[DC_TX_LIST_CNT]; 494 bus_dmamap_t dc_rx_map[DC_RX_LIST_CNT]; 495 bus_dmamap_t dc_tx_map[DC_TX_LIST_CNT]; 496 u_int32_t *dc_sbuf; 497 u_int8_t dc_pad[DC_MIN_FRAMELEN]; |
498 int dc_tx_pkts; |
|
498 int dc_tx_first; 499 int dc_tx_prod; 500 int dc_tx_cons; 501 int dc_tx_cnt; 502 int dc_rx_prod; 503}; 504 505struct dc_mediainfo { --- 669 unchanged lines hidden --- | 499 int dc_tx_first; 500 int dc_tx_prod; 501 int dc_tx_cons; 502 int dc_tx_cnt; 503 int dc_rx_prod; 504}; 505 506struct dc_mediainfo { --- 669 unchanged lines hidden --- |