Deleted Added
full compact
e1000_80003es2lan.h (169248) e1000_80003es2lan.h (169589)
1/*******************************************************************************
2
3 Copyright (c) 2001-2007, 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-2007, 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/em/e1000_80003es2lan.h 169589 2007-05-16 00:14:23Z jfv $*/
33
34
34/*
35 * $FreeBSD: head/sys/dev/em/e1000_80003es2lan.h 169248 2007-05-04 13:30:44Z rwatson $
36 */
37
35
38
39#ifndef _E1000_80003ES2LAN_H_
40#define _E1000_80003ES2LAN_H_
41
36#ifndef _E1000_80003ES2LAN_H_
37#define _E1000_80003ES2LAN_H_
38
42#include "e1000_api.h"
43
44#define E1000_KMRNCTRLSTA_OFFSET_FIFO_CTRL 0x00
45#define E1000_KMRNCTRLSTA_OFFSET_INB_CTRL 0x02
46#define E1000_KMRNCTRLSTA_OFFSET_HD_CTRL 0x10
47
48#define E1000_KMRNCTRLSTA_FIFO_CTRL_RX_BYPASS 0x0008
49#define E1000_KMRNCTRLSTA_FIFO_CTRL_TX_BYPASS 0x0800
50#define E1000_KMRNCTRLSTA_INB_CTRL_DIS_PADDING 0x0010
51

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

84 1 = 50-80M;
85 2 = 80-110M;
86 3 = 110-140M;
87 4 = >140M */
88
89/* Kumeran Mode Control Register (Page 193, Register 16) */
90#define GG82563_KMCR_PASS_FALSE_CARRIER 0x0800
91
39#define E1000_KMRNCTRLSTA_OFFSET_FIFO_CTRL 0x00
40#define E1000_KMRNCTRLSTA_OFFSET_INB_CTRL 0x02
41#define E1000_KMRNCTRLSTA_OFFSET_HD_CTRL 0x10
42
43#define E1000_KMRNCTRLSTA_FIFO_CTRL_RX_BYPASS 0x0008
44#define E1000_KMRNCTRLSTA_FIFO_CTRL_TX_BYPASS 0x0800
45#define E1000_KMRNCTRLSTA_INB_CTRL_DIS_PADDING 0x0010
46

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

79 1 = 50-80M;
80 2 = 80-110M;
81 3 = 110-140M;
82 4 = >140M */
83
84/* Kumeran Mode Control Register (Page 193, Register 16) */
85#define GG82563_KMCR_PASS_FALSE_CARRIER 0x0800
86
87/* Max number of times Kumeran read/write should be validated */
88#define GG82563_MAX_KMRN_RETRY 0x5
89
92/* Power Management Control Register (Page 193, Register 20) */
93#define GG82563_PMCR_ENABLE_ELECTRICAL_IDLE 0x0001
94 /* 1=Enable SERDES Electrical Idle */
95
96/* In-Band Control Register (Page 194, Register 18) */
97#define GG82563_ICR_DIS_PADDING 0x0010 /* Disable Padding */
98
99#endif
90/* Power Management Control Register (Page 193, Register 20) */
91#define GG82563_PMCR_ENABLE_ELECTRICAL_IDLE 0x0001
92 /* 1=Enable SERDES Electrical Idle */
93
94/* In-Band Control Register (Page 194, Register 18) */
95#define GG82563_ICR_DIS_PADDING 0x0010 /* Disable Padding */
96
97#endif