Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Variables
80003es2lan.c File Reference
#include "e1000.h"

Go to the source code of this file.

Macros

#define E1000_KMRNCTRLSTA_OFFSET_FIFO_CTRL   0x00
 
#define E1000_KMRNCTRLSTA_OFFSET_INB_CTRL   0x02
 
#define E1000_KMRNCTRLSTA_OFFSET_HD_CTRL   0x10
 
#define E1000_KMRNCTRLSTA_OFFSET_MAC2PHY_OPMODE   0x1F
 
#define E1000_KMRNCTRLSTA_FIFO_CTRL_RX_BYPASS   0x0008
 
#define E1000_KMRNCTRLSTA_FIFO_CTRL_TX_BYPASS   0x0800
 
#define E1000_KMRNCTRLSTA_INB_CTRL_DIS_PADDING   0x0010
 
#define E1000_KMRNCTRLSTA_HD_CTRL_10_100_DEFAULT   0x0004
 
#define E1000_KMRNCTRLSTA_HD_CTRL_1000_DEFAULT   0x0000
 
#define E1000_KMRNCTRLSTA_OPMODE_E_IDLE   0x2000
 
#define E1000_KMRNCTRLSTA_OPMODE_MASK   0x000C
 
#define E1000_KMRNCTRLSTA_OPMODE_INBAND_MDIO   0x0004
 
#define E1000_TCTL_EXT_GCEX_MASK   0x000FFC00 /* Gigabit Carry Extend Padding */
 
#define DEFAULT_TCTL_EXT_GCEX_80003ES2LAN   0x00010000
 
#define DEFAULT_TIPG_IPGT_1000_80003ES2LAN   0x8
 
#define DEFAULT_TIPG_IPGT_10_100_80003ES2LAN   0x9
 
#define GG82563_PSCR_POLARITY_REVERSAL_DISABLE   0x0002 /* 1=Reversal Disab. */
 
#define GG82563_PSCR_CROSSOVER_MODE_MASK   0x0060
 
#define GG82563_PSCR_CROSSOVER_MODE_MDI   0x0000 /* 00=Manual MDI */
 
#define GG82563_PSCR_CROSSOVER_MODE_MDIX   0x0020 /* 01=Manual MDIX */
 
#define GG82563_PSCR_CROSSOVER_MODE_AUTO   0x0060 /* 11=Auto crossover */
 
#define GG82563_PSCR2_REVERSE_AUTO_NEG   0x2000
 
#define GG82563_MSCR_TX_CLK_MASK   0x0007
 
#define GG82563_MSCR_TX_CLK_10MBPS_2_5   0x0004
 
#define GG82563_MSCR_TX_CLK_100MBPS_25   0x0005
 
#define GG82563_MSCR_TX_CLK_1000MBPS_25   0x0007
 
#define GG82563_MSCR_ASSERT_CRS_ON_TX   0x0010 /* 1=Assert */
 
#define GG82563_DSPD_CABLE_LENGTH
 
#define GG82563_KMCR_PASS_FALSE_CARRIER   0x0800
 
#define GG82563_MAX_KMRN_RETRY   0x5
 
#define GG82563_PMCR_ENABLE_ELECTRICAL_IDLE   0x0001
 
#define GG82563_ICR_DIS_PADDING   0x0010 /* Disable Padding */
 
#define GG82563_CABLE_LENGTH_TABLE_SIZE   ARRAY_SIZE(e1000_gg82563_cable_length_table)
 

Variables

struct e1000_info e1000_es2_info
 

Macro Definition Documentation

#define DEFAULT_TCTL_EXT_GCEX_80003ES2LAN   0x00010000

Definition at line 53 of file 80003es2lan.c.

#define DEFAULT_TIPG_IPGT_1000_80003ES2LAN   0x8

Definition at line 55 of file 80003es2lan.c.

#define DEFAULT_TIPG_IPGT_10_100_80003ES2LAN   0x9

Definition at line 56 of file 80003es2lan.c.

#define E1000_KMRNCTRLSTA_FIFO_CTRL_RX_BYPASS   0x0008

Definition at line 41 of file 80003es2lan.c.

#define E1000_KMRNCTRLSTA_FIFO_CTRL_TX_BYPASS   0x0800

Definition at line 42 of file 80003es2lan.c.

#define E1000_KMRNCTRLSTA_HD_CTRL_1000_DEFAULT   0x0000

Definition at line 46 of file 80003es2lan.c.

#define E1000_KMRNCTRLSTA_HD_CTRL_10_100_DEFAULT   0x0004

Definition at line 45 of file 80003es2lan.c.

#define E1000_KMRNCTRLSTA_INB_CTRL_DIS_PADDING   0x0010

Definition at line 43 of file 80003es2lan.c.

#define E1000_KMRNCTRLSTA_OFFSET_FIFO_CTRL   0x00

Definition at line 36 of file 80003es2lan.c.

#define E1000_KMRNCTRLSTA_OFFSET_HD_CTRL   0x10

Definition at line 38 of file 80003es2lan.c.

#define E1000_KMRNCTRLSTA_OFFSET_INB_CTRL   0x02

Definition at line 37 of file 80003es2lan.c.

#define E1000_KMRNCTRLSTA_OFFSET_MAC2PHY_OPMODE   0x1F

Definition at line 39 of file 80003es2lan.c.

#define E1000_KMRNCTRLSTA_OPMODE_E_IDLE   0x2000

Definition at line 47 of file 80003es2lan.c.

#define E1000_KMRNCTRLSTA_OPMODE_INBAND_MDIO   0x0004

Definition at line 50 of file 80003es2lan.c.

#define E1000_KMRNCTRLSTA_OPMODE_MASK   0x000C

Definition at line 49 of file 80003es2lan.c.

#define E1000_TCTL_EXT_GCEX_MASK   0x000FFC00 /* Gigabit Carry Extend Padding */

Definition at line 52 of file 80003es2lan.c.

#define GG82563_CABLE_LENGTH_TABLE_SIZE   ARRAY_SIZE(e1000_gg82563_cable_length_table)

Definition at line 101 of file 80003es2lan.c.

#define GG82563_DSPD_CABLE_LENGTH
Value:
0x0007 /* 0 = <50M
1 = 50-80M
2 = 80-110M
3 = 110-140M
4 = >140M */

Definition at line 79 of file 80003es2lan.c.

#define GG82563_ICR_DIS_PADDING   0x0010 /* Disable Padding */

Definition at line 92 of file 80003es2lan.c.

#define GG82563_KMCR_PASS_FALSE_CARRIER   0x0800

Definition at line 82 of file 80003es2lan.c.

#define GG82563_MAX_KMRN_RETRY   0x5

Definition at line 85 of file 80003es2lan.c.

#define GG82563_MSCR_ASSERT_CRS_ON_TX   0x0010 /* 1=Assert */

Definition at line 76 of file 80003es2lan.c.

#define GG82563_MSCR_TX_CLK_1000MBPS_25   0x0007

Definition at line 74 of file 80003es2lan.c.

#define GG82563_MSCR_TX_CLK_100MBPS_25   0x0005

Definition at line 73 of file 80003es2lan.c.

#define GG82563_MSCR_TX_CLK_10MBPS_2_5   0x0004

Definition at line 72 of file 80003es2lan.c.

#define GG82563_MSCR_TX_CLK_MASK   0x0007

Definition at line 71 of file 80003es2lan.c.

#define GG82563_PMCR_ENABLE_ELECTRICAL_IDLE   0x0001

Definition at line 88 of file 80003es2lan.c.

#define GG82563_PSCR2_REVERSE_AUTO_NEG   0x2000

Definition at line 66 of file 80003es2lan.c.

#define GG82563_PSCR_CROSSOVER_MODE_AUTO   0x0060 /* 11=Auto crossover */

Definition at line 63 of file 80003es2lan.c.

#define GG82563_PSCR_CROSSOVER_MODE_MASK   0x0060

Definition at line 60 of file 80003es2lan.c.

#define GG82563_PSCR_CROSSOVER_MODE_MDI   0x0000 /* 00=Manual MDI */

Definition at line 61 of file 80003es2lan.c.

#define GG82563_PSCR_CROSSOVER_MODE_MDIX   0x0020 /* 01=Manual MDIX */

Definition at line 62 of file 80003es2lan.c.

#define GG82563_PSCR_POLARITY_REVERSAL_DISABLE   0x0002 /* 1=Reversal Disab. */

Definition at line 59 of file 80003es2lan.c.

Variable Documentation

struct e1000_info e1000_es2_info
Initial value:
= {
.flags2 = FLAG2_DMA_BURST,
.pba = 38,
.max_hw_frame_size = DEFAULT_JUMBO,
.get_variants = e1000_get_variants_80003es2lan,
.mac_ops = &es2_mac_ops,
.phy_ops = &es2_phy_ops,
.nvm_ops = &es2_nvm_ops,
}

Definition at line 1478 of file 80003es2lan.c.