e1000e_80003es2lan.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 FILE_LICENCE ( GPL2_OR_LATER );
00030
00031 #ifndef _E1000E_80003ES2LAN_H_
00032 #define _E1000E_80003ES2LAN_H_
00033
00034 #define E1000_KMRNCTRLSTA_OFFSET_FIFO_CTRL 0x00
00035 #define E1000_KMRNCTRLSTA_OFFSET_INB_CTRL 0x02
00036 #define E1000_KMRNCTRLSTA_OFFSET_HD_CTRL 0x10
00037 #define E1000_KMRNCTRLSTA_OFFSET_MAC2PHY_OPMODE 0x1F
00038
00039 #define E1000_KMRNCTRLSTA_FIFO_CTRL_RX_BYPASS 0x0008
00040 #define E1000_KMRNCTRLSTA_FIFO_CTRL_TX_BYPASS 0x0800
00041 #define E1000_KMRNCTRLSTA_INB_CTRL_DIS_PADDING 0x0010
00042
00043 #define E1000_KMRNCTRLSTA_HD_CTRL_10_100_DEFAULT 0x0004
00044 #define E1000_KMRNCTRLSTA_HD_CTRL_1000_DEFAULT 0x0000
00045 #define E1000_KMRNCTRLSTA_OPMODE_E_IDLE 0x2000
00046
00047 #define E1000_KMRNCTRLSTA_OPMODE_MASK 0x000C
00048 #define E1000_KMRNCTRLSTA_OPMODE_INBAND_MDIO 0x0004
00049
00050 #define E1000_TCTL_EXT_GCEX_MASK 0x000FFC00
00051 #define DEFAULT_TCTL_EXT_GCEX_80003ES2LAN 0x00010000
00052
00053 #define DEFAULT_TIPG_IPGT_1000_80003ES2LAN 0x8
00054 #define DEFAULT_TIPG_IPGT_10_100_80003ES2LAN 0x9
00055
00056
00057 #define GG82563_PSCR_POLARITY_REVERSAL_DISABLE 0x0002
00058 #define GG82563_PSCR_CROSSOVER_MODE_MASK 0x0060
00059 #define GG82563_PSCR_CROSSOVER_MODE_MDI 0x0000
00060 #define GG82563_PSCR_CROSSOVER_MODE_MDIX 0x0020
00061 #define GG82563_PSCR_CROSSOVER_MODE_AUTO 0x0060
00062
00063
00064 #define GG82563_PSCR2_REVERSE_AUTO_NEG 0x2000
00065
00066
00067
00068
00069 #define GG82563_MSCR_TX_CLK_MASK 0x0007
00070 #define GG82563_MSCR_TX_CLK_10MBPS_2_5 0x0004
00071 #define GG82563_MSCR_TX_CLK_100MBPS_25 0x0005
00072 #define GG82563_MSCR_TX_CLK_1000MBPS_2_5 0x0006
00073 #define GG82563_MSCR_TX_CLK_1000MBPS_25 0x0007
00074
00075 #define GG82563_MSCR_ASSERT_CRS_ON_TX 0x0010
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085 #define GG82563_DSPD_CABLE_LENGTH 0x0007
00086
00087
00088 #define GG82563_KMCR_PASS_FALSE_CARRIER 0x0800
00089
00090
00091 #define GG82563_MAX_KMRN_RETRY 0x5
00092
00093
00094 #define GG82563_PMCR_ENABLE_ELECTRICAL_IDLE 0x0001
00095
00096
00097
00098 #define GG82563_ICR_DIS_PADDING 0x0010
00099
00100 #endif