#include "e1000e_regs.h"#include "e1000e_defines.h"#include "e1000e_mac.h"#include "e1000e_phy.h"#include "e1000e_nvm.h"#include "e1000e_manage.h"#include "e1000e_82571.h"#include "e1000e_80003es2lan.h"#include "e1000e_ich8lan.h"Go to the source code of this file.
| #define E1000_DEV_ID_82571EB_COPPER 0x105E |
| #define E1000_DEV_ID_82571EB_FIBER 0x105F |
Definition at line 40 of file e1000e_hw.h.
Referenced by e1000e_get_variants_82571(), and e1000e_init_mac_params_82571().
| #define E1000_DEV_ID_82571EB_SERDES 0x1060 |
Definition at line 41 of file e1000e_hw.h.
Referenced by e1000e_get_variants_82571(), and e1000e_init_mac_params_82571().
| #define E1000_DEV_ID_82571EB_SERDES_DUAL 0x10D9 |
| #define E1000_DEV_ID_82571EB_SERDES_QUAD 0x10DA |
Definition at line 43 of file e1000e_hw.h.
Referenced by e1000e_get_variants_82571(), and e1000e_init_mac_params_82571().
| #define E1000_DEV_ID_82571EB_QUAD_COPPER 0x10A4 |
| #define E1000_DEV_ID_82571PT_QUAD_COPPER 0x10D5 |
| #define E1000_DEV_ID_82571EB_QUAD_FIBER 0x10A5 |
Definition at line 46 of file e1000e_hw.h.
Referenced by e1000e_get_variants_82571(), and e1000e_init_mac_params_82571().
| #define E1000_DEV_ID_82571EB_QUAD_COPPER_LP 0x10BC |
| #define E1000_DEV_ID_82572EI_COPPER 0x107D |
Definition at line 48 of file e1000e_hw.h.
| #define E1000_DEV_ID_82572EI_FIBER 0x107E |
| #define E1000_DEV_ID_82572EI_SERDES 0x107F |
| #define E1000_DEV_ID_82572EI 0x10B9 |
Definition at line 51 of file e1000e_hw.h.
| #define E1000_DEV_ID_82573E 0x108B |
Definition at line 52 of file e1000e_hw.h.
| #define E1000_DEV_ID_82573E_IAMT 0x108C |
Definition at line 53 of file e1000e_hw.h.
| #define E1000_DEV_ID_82573L 0x109A |
| #define E1000_DEV_ID_82574L 0x10D3 |
Definition at line 55 of file e1000e_hw.h.
| #define E1000_DEV_ID_82574LA 0x10F6 |
Definition at line 56 of file e1000e_hw.h.
| #define E1000_DEV_ID_82583V 0x150C |
Definition at line 57 of file e1000e_hw.h.
| #define E1000_DEV_ID_80003ES2LAN_COPPER_DPT 0x1096 |
Definition at line 58 of file e1000e_hw.h.
| #define E1000_DEV_ID_80003ES2LAN_SERDES_DPT 0x1098 |
| #define E1000_DEV_ID_80003ES2LAN_COPPER_SPT 0x10BA |
Definition at line 60 of file e1000e_hw.h.
| #define E1000_DEV_ID_80003ES2LAN_SERDES_SPT 0x10BB |
Definition at line 61 of file e1000e_hw.h.
| #define E1000_DEV_ID_ICH8_82567V_3 0x1501 |
Definition at line 62 of file e1000e_hw.h.
| #define E1000_DEV_ID_ICH8_IGP_M_AMT 0x1049 |
| #define E1000_DEV_ID_ICH8_IGP_AMT 0x104A |
Definition at line 64 of file e1000e_hw.h.
| #define E1000_DEV_ID_ICH8_IGP_C 0x104B |
Definition at line 65 of file e1000e_hw.h.
| #define E1000_DEV_ID_ICH8_IFE 0x104C |
Definition at line 66 of file e1000e_hw.h.
| #define E1000_DEV_ID_ICH8_IFE_GT 0x10C4 |
Definition at line 67 of file e1000e_hw.h.
| #define E1000_DEV_ID_ICH8_IFE_G 0x10C5 |
Definition at line 68 of file e1000e_hw.h.
| #define E1000_DEV_ID_ICH8_IGP_M 0x104D |
| #define E1000_DEV_ID_ICH9_IGP_M 0x10BF |
Definition at line 70 of file e1000e_hw.h.
| #define E1000_DEV_ID_ICH9_IGP_M_AMT 0x10F5 |
Definition at line 71 of file e1000e_hw.h.
| #define E1000_DEV_ID_ICH9_IGP_M_V 0x10CB |
Definition at line 72 of file e1000e_hw.h.
| #define E1000_DEV_ID_ICH9_IGP_AMT 0x10BD |
Definition at line 73 of file e1000e_hw.h.
| #define E1000_DEV_ID_ICH9_BM 0x10E5 |
Definition at line 74 of file e1000e_hw.h.
| #define E1000_DEV_ID_ICH9_IGP_C 0x294C |
Definition at line 75 of file e1000e_hw.h.
| #define E1000_DEV_ID_ICH9_IFE 0x10C0 |
Definition at line 76 of file e1000e_hw.h.
| #define E1000_DEV_ID_ICH9_IFE_GT 0x10C3 |
Definition at line 77 of file e1000e_hw.h.
| #define E1000_DEV_ID_ICH9_IFE_G 0x10C2 |
Definition at line 78 of file e1000e_hw.h.
| #define E1000_DEV_ID_ICH10_R_BM_LM 0x10CC |
Definition at line 79 of file e1000e_hw.h.
| #define E1000_DEV_ID_ICH10_R_BM_LF 0x10CD |
Definition at line 80 of file e1000e_hw.h.
| #define E1000_DEV_ID_ICH10_R_BM_V 0x10CE |
Definition at line 81 of file e1000e_hw.h.
| #define E1000_DEV_ID_ICH10_D_BM_LM 0x10DE |
Definition at line 82 of file e1000e_hw.h.
| #define E1000_DEV_ID_ICH10_D_BM_LF 0x10DF |
Definition at line 83 of file e1000e_hw.h.
| #define E1000_DEV_ID_PCH_M_HV_LM 0x10EA |
Definition at line 84 of file e1000e_hw.h.
| #define E1000_DEV_ID_PCH_M_HV_LC 0x10EB |
Definition at line 85 of file e1000e_hw.h.
| #define E1000_DEV_ID_PCH_D_HV_DM 0x10EF |
Definition at line 86 of file e1000e_hw.h.
| #define E1000_DEV_ID_PCH_D_HV_DC 0x10F0 |
Definition at line 87 of file e1000e_hw.h.
| #define E1000_REVISION_0 0 |
Definition at line 88 of file e1000e_hw.h.
| #define E1000_REVISION_1 1 |
Definition at line 89 of file e1000e_hw.h.
| #define E1000_REVISION_2 2 |
Definition at line 90 of file e1000e_hw.h.
| #define E1000_REVISION_3 3 |
Definition at line 91 of file e1000e_hw.h.
| #define E1000_REVISION_4 4 |
Definition at line 92 of file e1000e_hw.h.
| #define E1000_FUNC_0 0 |
Definition at line 94 of file e1000e_hw.h.
| #define E1000_FUNC_1 1 |
Definition at line 95 of file e1000e_hw.h.
| #define E1000_ALT_MAC_ADDRESS_OFFSET_LAN0 0 |
Definition at line 97 of file e1000e_hw.h.
| #define E1000_ALT_MAC_ADDRESS_OFFSET_LAN1 3 |
Definition at line 98 of file e1000e_hw.h.
| #define MAX_PS_BUFFERS 4 |
Definition at line 257 of file e1000e_hw.h.
| #define E1000_HI_MAX_DATA_LENGTH 252 |
Definition at line 452 of file e1000e_hw.h.
| #define E1000_HI_MAX_MNG_DATA_LENGTH 0x6F8 |
Definition at line 467 of file e1000e_hw.h.
| #define MAX_MTA_REG 128 |
Definition at line 574 of file e1000e_hw.h.
| #define E1000_ICH8_SHADOW_RAM_WORDS 2048 |
Definition at line 674 of file e1000e_hw.h.
Referenced by e1000e_init_nvm_params_ich8lan(), and e1000e_update_nvm_checksum_ich8lan().
| enum e1000_mac_type |
Definition at line 100 of file e1000e_hw.h.
00100 { 00101 e1000_undefined = 0, 00102 e1000_82571, 00103 e1000_82572, 00104 e1000_82573, 00105 e1000_82574, 00106 e1000_82583, 00107 e1000_80003es2lan, 00108 e1000_ich8lan, 00109 e1000_ich9lan, 00110 e1000_ich10lan, 00111 e1000_pchlan, 00112 e1000_num_macs /* List is 1-based, so subtract 1 for true count. */ 00113 };
| enum e1000_media_type |
Definition at line 115 of file e1000e_hw.h.
00115 { 00116 e1000_media_type_unknown = 0, 00117 e1000_media_type_copper = 1, 00118 e1000_media_type_fiber = 2, 00119 e1000_media_type_internal_serdes = 3, 00120 e1000_num_media_types 00121 };
| enum e1000_nvm_type |
Definition at line 123 of file e1000e_hw.h.
00123 { 00124 e1000_nvm_unknown = 0, 00125 e1000_nvm_none, 00126 e1000_nvm_eeprom_spi, 00127 e1000_nvm_flash_hw, 00128 e1000_nvm_flash_sw 00129 };
| enum e1000_nvm_override |
Definition at line 131 of file e1000e_hw.h.
00131 { 00132 e1000_nvm_override_none = 0, 00133 e1000_nvm_override_spi_small, 00134 e1000_nvm_override_spi_large, 00135 };
| enum e1000_phy_type |
Definition at line 137 of file e1000e_hw.h.
00137 { 00138 e1000_phy_unknown = 0, 00139 e1000_phy_none, 00140 e1000_phy_m88, 00141 e1000_phy_igp, 00142 e1000_phy_igp_2, 00143 e1000_phy_gg82563, 00144 e1000_phy_igp_3, 00145 e1000_phy_ife, 00146 e1000_phy_bm, 00147 e1000_phy_82578, 00148 e1000_phy_82577, 00149 };
| enum e1000_bus_type |
Definition at line 151 of file e1000e_hw.h.
00151 { 00152 e1000_bus_type_unknown = 0, 00153 e1000_bus_type_pci, 00154 e1000_bus_type_pcix, 00155 e1000_bus_type_pci_express, 00156 e1000_bus_type_reserved 00157 };
| enum e1000_bus_speed |
Definition at line 159 of file e1000e_hw.h.
00159 { 00160 e1000_bus_speed_unknown = 0, 00161 e1000_bus_speed_33, 00162 e1000_bus_speed_66, 00163 e1000_bus_speed_100, 00164 e1000_bus_speed_120, 00165 e1000_bus_speed_133, 00166 e1000_bus_speed_2500, 00167 e1000_bus_speed_5000, 00168 e1000_bus_speed_reserved 00169 };
| enum e1000_bus_width |
Definition at line 171 of file e1000e_hw.h.
00171 { 00172 e1000_bus_width_unknown = 0, 00173 e1000_bus_width_pcie_x1, 00174 e1000_bus_width_pcie_x2, 00175 e1000_bus_width_pcie_x4 = 4, 00176 e1000_bus_width_pcie_x8 = 8, 00177 e1000_bus_width_32, 00178 e1000_bus_width_64, 00179 e1000_bus_width_reserved 00180 };
Definition at line 182 of file e1000e_hw.h.
00182 { 00183 e1000_1000t_rx_status_not_ok = 0, 00184 e1000_1000t_rx_status_ok, 00185 e1000_1000t_rx_status_undefined = 0xFF 00186 };
| enum e1000_rev_polarity |
Definition at line 188 of file e1000e_hw.h.
00188 { 00189 e1000_rev_polarity_normal = 0, 00190 e1000_rev_polarity_reversed, 00191 e1000_rev_polarity_undefined = 0xFF 00192 };
| enum e1000_fc_mode |
Definition at line 194 of file e1000e_hw.h.
00194 { 00195 e1000_fc_none = 0, 00196 e1000_fc_rx_pause, 00197 e1000_fc_tx_pause, 00198 e1000_fc_full, 00199 e1000_fc_default = 0xFF 00200 };
| enum e1000_ms_type |
Definition at line 202 of file e1000e_hw.h.
00202 { 00203 e1000_ms_hw_default = 0, 00204 e1000_ms_force_master, 00205 e1000_ms_force_slave, 00206 e1000_ms_auto 00207 };
| enum e1000_smart_speed |
Definition at line 209 of file e1000e_hw.h.
00209 { 00210 e1000_smart_speed_default = 0, 00211 e1000_smart_speed_on, 00212 e1000_smart_speed_off 00213 };
Definition at line 215 of file e1000e_hw.h.
00215 { 00216 e1000_serdes_link_down = 0, 00217 e1000_serdes_link_autoneg_progress, 00218 e1000_serdes_link_autoneg_complete, 00219 e1000_serdes_link_forced_up 00220 };
| FILE_LICENCE | ( | GPL2_OR_LATER | ) |
Definition at line 297 of file e1000e_main.c.
References e1000_hw::adapter, E1000_ERR_CONFIG, E1000_SUCCESS, PCI_CAP_ID_EXP, pci_find_capability(), pci_read_config_word(), e1000_adapter::pdev, and u16.
Referenced by e1000e_get_bus_info_pcie().
00298 { 00299 u16 cap_offset; 00300 00301 cap_offset = pci_find_capability(hw->adapter->pdev, PCI_CAP_ID_EXP); 00302 if (!cap_offset) 00303 return -E1000_ERR_CONFIG; 00304 00305 pci_read_config_word(hw->adapter->pdev, cap_offset + reg, value); 00306 00307 return E1000_SUCCESS; 00308 }
1.5.7.1