Deleted Added
full compact
if_lem.h (212902) if_lem.h (214646)
1/******************************************************************************
2
3 Copyright (c) 2001-2010, Intel Corporation
4 All rights reserved.
5
6 Redistribution and use in source and binary forms, with or without
7 modification, are permitted provided that the following conditions are met:
8

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

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 THE
30 POSSIBILITY OF SUCH DAMAGE.
31
32******************************************************************************/
1/******************************************************************************
2
3 Copyright (c) 2001-2010, Intel Corporation
4 All rights reserved.
5
6 Redistribution and use in source and binary forms, with or without
7 modification, are permitted provided that the following conditions are met:
8

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

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 THE
30 POSSIBILITY OF SUCH DAMAGE.
31
32******************************************************************************/
33/*$FreeBSD: head/sys/dev/e1000/if_lem.h 212902 2010-09-20 16:04:44Z jhb $*/
33/*$FreeBSD: head/sys/dev/e1000/if_lem.h 214646 2010-11-01 20:19:25Z jfv $*/
34
35
36#ifndef _LEM_H_DEFINED_
37#define _LEM_H_DEFINED_
38
39
40/* Tunables */
41

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

323
324 /* Task for FAST handling */
325 struct task link_task;
326 struct task rxtx_task;
327 struct task rx_task;
328 struct task tx_task;
329 struct taskqueue *tq; /* private task queue */
330
34
35
36#ifndef _LEM_H_DEFINED_
37#define _LEM_H_DEFINED_
38
39
40/* Tunables */
41

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

323
324 /* Task for FAST handling */
325 struct task link_task;
326 struct task rxtx_task;
327 struct task rx_task;
328 struct task tx_task;
329 struct taskqueue *tq; /* private task queue */
330
331#if __FreeBSD_version >= 700029
332 eventhandler_tag vlan_attach;
333 eventhandler_tag vlan_detach;
334 u32 num_vlans;
331 eventhandler_tag vlan_attach;
332 eventhandler_tag vlan_detach;
333 u32 num_vlans;
335#endif
336
337 /* Management and WOL features */
338 u32 wol;
339 bool has_manage;
340 bool has_amt;
341
342 /* Multicast array memory */
343 u8 *mta;
334
335 /* Management and WOL features */
336 u32 wol;
337 bool has_manage;
338 bool has_amt;
339
340 /* Multicast array memory */
341 u8 *mta;
344 /* Info about the board itself */
342
343 /*
344 ** Shadow VFTA table, this is needed because
345 ** the real vlan filter table gets cleared during
346 ** a soft reset and the driver needs to be able
347 ** to repopulate it.
348 */
349 u32 shadow_vfta[EM_VFTA_SIZE];
350
351 /* Info about the interface */
345 uint8_t link_active;
346 uint16_t link_speed;
347 uint16_t link_duplex;
348 uint32_t smartspeed;
352 uint8_t link_active;
353 uint16_t link_speed;
354 uint16_t link_duplex;
355 uint32_t smartspeed;
356 uint32_t fc_setting;
357
349 struct em_int_delay_info tx_int_delay;
350 struct em_int_delay_info tx_abs_int_delay;
351 struct em_int_delay_info rx_int_delay;
352 struct em_int_delay_info rx_abs_int_delay;
353
354 /*
355 * Transmit definitions
356 *

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

402 unsigned long mbuf_alloc_failed;
403 unsigned long mbuf_cluster_failed;
404 unsigned long no_tx_desc_avail1;
405 unsigned long no_tx_desc_avail2;
406 unsigned long no_tx_map_avail;
407 unsigned long no_tx_dma_setup;
408 unsigned long watchdog_events;
409 unsigned long rx_overruns;
358 struct em_int_delay_info tx_int_delay;
359 struct em_int_delay_info tx_abs_int_delay;
360 struct em_int_delay_info rx_int_delay;
361 struct em_int_delay_info rx_abs_int_delay;
362
363 /*
364 * Transmit definitions
365 *

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

411 unsigned long mbuf_alloc_failed;
412 unsigned long mbuf_cluster_failed;
413 unsigned long no_tx_desc_avail1;
414 unsigned long no_tx_desc_avail2;
415 unsigned long no_tx_map_avail;
416 unsigned long no_tx_dma_setup;
417 unsigned long watchdog_events;
418 unsigned long rx_overruns;
419 unsigned long rx_irq;
420 unsigned long tx_irq;
421 unsigned long link_irq;
410
411 /* 82547 workaround */
412 uint32_t tx_fifo_size;
413 uint32_t tx_fifo_head;
414 uint32_t tx_fifo_head_addr;
415 uint64_t tx_fifo_reset_cnt;
416 uint64_t tx_fifo_wrk_cnt;
417 uint32_t tx_head_addr;

--- 63 unchanged lines hidden ---
422
423 /* 82547 workaround */
424 uint32_t tx_fifo_size;
425 uint32_t tx_fifo_head;
426 uint32_t tx_fifo_head_addr;
427 uint64_t tx_fifo_reset_cnt;
428 uint64_t tx_fifo_wrk_cnt;
429 uint32_t tx_head_addr;

--- 63 unchanged lines hidden ---