Deleted Added
full compact
if_vgevar.h (200758) if_vgevar.h (200759)
1/*-
2 * Copyright (c) 2004
3 * Bill Paul <wpaul@windriver.com>. 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) 2004
3 * Bill Paul <wpaul@windriver.com>. 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/vge/if_vgevar.h 200758 2009-12-20 19:11:32Z yongari $
32 * $FreeBSD: head/sys/dev/vge/if_vgevar.h 200759 2009-12-20 19:45:46Z yongari $
33 */
34
35#define VGE_JUMBO_MTU 9000
36
37#define VGE_TX_DESC_CNT 256
38#define VGE_RX_DESC_CNT 252 /* Must be a multiple of 4!! */
39#define VGE_TX_RING_ALIGN 64
40#define VGE_RX_RING_ALIGN 64

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

182 void *vge_intrhand;
183 device_t vge_miibus;
184 int vge_if_flags;
185 int vge_phyaddr;
186 int vge_flags;
187#define VGE_FLAG_PCIE 0x0001
188#define VGE_FLAG_MSI 0x0002
189#define VGE_FLAG_PMCAP 0x0004
33 */
34
35#define VGE_JUMBO_MTU 9000
36
37#define VGE_TX_DESC_CNT 256
38#define VGE_RX_DESC_CNT 252 /* Must be a multiple of 4!! */
39#define VGE_TX_RING_ALIGN 64
40#define VGE_RX_RING_ALIGN 64

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

182 void *vge_intrhand;
183 device_t vge_miibus;
184 int vge_if_flags;
185 int vge_phyaddr;
186 int vge_flags;
187#define VGE_FLAG_PCIE 0x0001
188#define VGE_FLAG_MSI 0x0002
189#define VGE_FLAG_PMCAP 0x0004
190#define VGE_FLAG_JUMBO 0x0008
190#define VGE_FLAG_SUSPENDED 0x4000
191#define VGE_FLAG_LINK 0x8000
192 int vge_expcap;
193 int vge_pmcap;
194 int vge_camidx;
195 int vge_int_holdoff;
196 int vge_rx_coal_pkt;
197 int vge_tx_coal_pkt;

--- 49 unchanged lines hidden ---
191#define VGE_FLAG_SUSPENDED 0x4000
192#define VGE_FLAG_LINK 0x8000
193 int vge_expcap;
194 int vge_pmcap;
195 int vge_camidx;
196 int vge_int_holdoff;
197 int vge_rx_coal_pkt;
198 int vge_tx_coal_pkt;

--- 49 unchanged lines hidden ---