Deleted Added
full compact
e1000_80003es2lan.h (181027) e1000_80003es2lan.h (200243)
1/*******************************************************************************
1/******************************************************************************
2
2
3 Copyright (c) 2001-2008, Intel Corporation
3 Copyright (c) 2001-2009, 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
9 1. Redistributions of source code must retain the above copyright notice,
10 this list of conditions and the following disclaimer.
11

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

24 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 THE
30 POSSIBILITY OF SUCH DAMAGE.
31
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
9 1. Redistributions of source code must retain the above copyright notice,
10 this list of conditions and the following disclaimer.
11

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

24 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 THE
30 POSSIBILITY OF SUCH DAMAGE.
31
32*******************************************************************************/
33/* $FreeBSD: head/sys/dev/e1000/e1000_80003es2lan.h 176667 2008-02-29 21:50:11Z jfv $ */
32******************************************************************************/
33/*$FreeBSD: head/sys/dev/e1000/e1000_80003es2lan.h 200243 2009-12-08 01:07:44Z jfv $*/
34
34
35
36#ifndef _E1000_80003ES2LAN_H_
37#define _E1000_80003ES2LAN_H_
38
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#define E1000_KMRNCTRLSTA_OFFSET_MAC2PHY_OPMODE 0x1F
43
44#define E1000_KMRNCTRLSTA_FIFO_CTRL_RX_BYPASS 0x0008
45#define E1000_KMRNCTRLSTA_FIFO_CTRL_TX_BYPASS 0x0800
46#define E1000_KMRNCTRLSTA_INB_CTRL_DIS_PADDING 0x0010
47
48#define E1000_KMRNCTRLSTA_HD_CTRL_10_100_DEFAULT 0x0004
49#define E1000_KMRNCTRLSTA_HD_CTRL_1000_DEFAULT 0x0000
50#define E1000_KMRNCTRLSTA_OPMODE_E_IDLE 0x2000
51
35#ifndef _E1000_80003ES2LAN_H_
36#define _E1000_80003ES2LAN_H_
37
38#define E1000_KMRNCTRLSTA_OFFSET_FIFO_CTRL 0x00
39#define E1000_KMRNCTRLSTA_OFFSET_INB_CTRL 0x02
40#define E1000_KMRNCTRLSTA_OFFSET_HD_CTRL 0x10
41#define E1000_KMRNCTRLSTA_OFFSET_MAC2PHY_OPMODE 0x1F
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
47#define E1000_KMRNCTRLSTA_HD_CTRL_10_100_DEFAULT 0x0004
48#define E1000_KMRNCTRLSTA_HD_CTRL_1000_DEFAULT 0x0000
49#define E1000_KMRNCTRLSTA_OPMODE_E_IDLE 0x2000
50
51#define E1000_KMRNCTRLSTA_OPMODE_MASK 0x000C
52#define E1000_KMRNCTRLSTA_OPMODE_INBAND_MDIO 0x0004
53
52#define E1000_TCTL_EXT_GCEX_MASK 0x000FFC00 /* Gigabit Carry Extend Padding */
53#define DEFAULT_TCTL_EXT_GCEX_80003ES2LAN 0x00010000
54
55#define DEFAULT_TIPG_IPGT_1000_80003ES2LAN 0x8
56#define DEFAULT_TIPG_IPGT_10_100_80003ES2LAN 0x9
57
58/* GG82563 PHY Specific Status Register (Page 0, Register 16 */
59#define GG82563_PSCR_POLARITY_REVERSAL_DISABLE 0x0002 /* 1=Reversal Disabled */

--- 43 unchanged lines hidden ---
54#define E1000_TCTL_EXT_GCEX_MASK 0x000FFC00 /* Gigabit Carry Extend Padding */
55#define DEFAULT_TCTL_EXT_GCEX_80003ES2LAN 0x00010000
56
57#define DEFAULT_TIPG_IPGT_1000_80003ES2LAN 0x8
58#define DEFAULT_TIPG_IPGT_10_100_80003ES2LAN 0x9
59
60/* GG82563 PHY Specific Status Register (Page 0, Register 16 */
61#define GG82563_PSCR_POLARITY_REVERSAL_DISABLE 0x0002 /* 1=Reversal Disabled */

--- 43 unchanged lines hidden ---