#include "e1000_osdep.h"#include "e1000_regs.h"#include "e1000_defines.h"#include "e1000_mac.h"#include "e1000_phy.h"#include "e1000_nvm.h"#include "e1000_manage.h"#include "e1000_82541.h"#include "e1000_82543.h"Go to the source code of this file.
| #define E1000_DEV_ID_82542 0x1000 |
| #define E1000_DEV_ID_82543GC_FIBER 0x1001 |
Definition at line 41 of file e1000_hw.h.
Referenced by e1000_init_mac_params_82543(), and e1000_set_mac_type().
| #define E1000_DEV_ID_82543GC_COPPER 0x1004 |
| #define E1000_DEV_ID_82544EI_COPPER 0x1008 |
| #define E1000_DEV_ID_82544EI_FIBER 0x1009 |
Definition at line 44 of file e1000_hw.h.
Referenced by e1000_init_mac_params_82543(), and e1000_set_mac_type().
| #define E1000_DEV_ID_82544GC_COPPER 0x100C |
| #define E1000_DEV_ID_82544GC_LOM 0x100D |
| #define E1000_DEV_ID_82540EM 0x100E |
| #define E1000_DEV_ID_82540EM_LOM 0x1015 |
| #define E1000_DEV_ID_82540EP_LOM 0x1016 |
| #define E1000_DEV_ID_82540EP 0x1017 |
| #define E1000_DEV_ID_82540EP_LP 0x101E |
| #define E1000_DEV_ID_82545EM_COPPER 0x100F |
| #define E1000_DEV_ID_82545EM_FIBER 0x1011 |
Definition at line 53 of file e1000_hw.h.
Referenced by e1000_init_mac_params_82540(), and e1000_set_mac_type().
| #define E1000_DEV_ID_82545GM_COPPER 0x1026 |
| #define E1000_DEV_ID_82545GM_FIBER 0x1027 |
Definition at line 55 of file e1000_hw.h.
Referenced by e1000_init_mac_params_82540(), and e1000_set_mac_type().
| #define E1000_DEV_ID_82545GM_SERDES 0x1028 |
Definition at line 56 of file e1000_hw.h.
Referenced by e1000_init_mac_params_82540(), and e1000_set_mac_type().
| #define E1000_DEV_ID_82546EB_COPPER 0x1010 |
| #define E1000_DEV_ID_82546EB_FIBER 0x1012 |
Definition at line 58 of file e1000_hw.h.
Referenced by e1000_init_mac_params_82540(), and e1000_set_mac_type().
| #define E1000_DEV_ID_82546EB_QUAD_COPPER 0x101D |
| #define E1000_DEV_ID_82546GB_COPPER 0x1079 |
| #define E1000_DEV_ID_82546GB_FIBER 0x107A |
Definition at line 61 of file e1000_hw.h.
Referenced by e1000_init_mac_params_82540(), and e1000_set_mac_type().
| #define E1000_DEV_ID_82546GB_SERDES 0x107B |
Definition at line 62 of file e1000_hw.h.
Referenced by e1000_init_mac_params_82540(), and e1000_set_mac_type().
| #define E1000_DEV_ID_82546GB_PCIE 0x108A |
| #define E1000_DEV_ID_82546GB_QUAD_COPPER 0x1099 |
Definition at line 64 of file e1000_hw.h.
Referenced by e1000_init_hw_82540(), and e1000_set_mac_type().
| #define E1000_DEV_ID_82546GB_QUAD_COPPER_KSP3 0x10B5 |
Definition at line 65 of file e1000_hw.h.
Referenced by e1000_init_hw_82540(), and e1000_set_mac_type().
| #define E1000_DEV_ID_82541EI 0x1013 |
| #define E1000_DEV_ID_82541EI_MOBILE 0x1018 |
| #define E1000_DEV_ID_82541ER_LOM 0x1014 |
| #define E1000_DEV_ID_82541ER 0x1078 |
| #define E1000_DEV_ID_82541GI 0x1076 |
| #define E1000_DEV_ID_82541GI_LF 0x107C |
| #define E1000_DEV_ID_82541GI_MOBILE 0x1077 |
| #define E1000_DEV_ID_82547EI 0x1019 |
| #define E1000_DEV_ID_82547EI_MOBILE 0x101A |
| #define E1000_DEV_ID_82547GI 0x1075 |
| #define E1000_REVISION_0 0 |
Definition at line 76 of file e1000_hw.h.
| #define E1000_REVISION_1 1 |
Definition at line 77 of file e1000_hw.h.
| #define E1000_REVISION_2 2 |
Definition at line 78 of file e1000_hw.h.
Referenced by e1000_copper_link_setup_m88(), e1000_init_hw_82542(), e1000_reset_hw_82542(), e1000e_copper_link_setup_m88(), and igb_copper_link_setup_m88().
| #define E1000_REVISION_3 3 |
Definition at line 79 of file e1000_hw.h.
| #define E1000_REVISION_4 4 |
Definition at line 80 of file e1000_hw.h.
Referenced by e1000_copper_link_setup_m88(), e1000e_copper_link_setup_m88(), and igb_copper_link_setup_m88().
| #define E1000_FUNC_0 0 |
| #define E1000_FUNC_1 1 |
Definition at line 83 of file e1000_hw.h.
Referenced by e1000_check_alt_mac_addr_generic(), e1000_read_mac_addr_82540(), e1000e_check_alt_mac_addr_generic(), igb_acquire_phy_82575(), igb_check_alt_mac_addr_generic(), igb_get_cfg_done_82575(), igb_release_phy_82575(), and igb_shutdown_serdes_link_82575().
| #define E1000_ALT_MAC_ADDRESS_OFFSET_LAN0 0 |
Definition at line 85 of file e1000_hw.h.
| #define E1000_ALT_MAC_ADDRESS_OFFSET_LAN1 3 |
Definition at line 86 of file e1000_hw.h.
Referenced by e1000_check_alt_mac_addr_generic(), e1000e_check_alt_mac_addr_generic(), and igb_check_alt_mac_addr_generic().
| #define MAX_PS_BUFFERS 4 |
Definition at line 260 of file e1000_hw.h.
| #define E1000_HI_MAX_DATA_LENGTH 252 |
Definition at line 467 of file e1000_hw.h.
| #define E1000_HI_MAX_MNG_DATA_LENGTH 0x6F8 |
Definition at line 482 of file e1000_hw.h.
| #define MAX_MTA_REG 128 |
Definition at line 586 of file e1000_hw.h.
| enum e1000_mac_type |
Definition at line 88 of file e1000_hw.h.
00088 { 00089 e1000_undefined = 0, 00090 e1000_82542, 00091 e1000_82543, 00092 e1000_82544, 00093 e1000_82540, 00094 e1000_82545, 00095 e1000_82545_rev_3, 00096 e1000_82546, 00097 e1000_82546_rev_3, 00098 e1000_82541, 00099 e1000_82541_rev_2, 00100 e1000_82547, 00101 e1000_82547_rev_2, 00102 e1000_num_macs /* List is 1-based, so subtract 1 for true count. */ 00103 };
| enum e1000_media_type |
Definition at line 105 of file e1000_hw.h.
00105 { 00106 e1000_media_type_unknown = 0, 00107 e1000_media_type_copper = 1, 00108 e1000_media_type_fiber = 2, 00109 e1000_media_type_internal_serdes = 3, 00110 e1000_num_media_types 00111 };
| enum e1000_nvm_type |
Definition at line 113 of file e1000_hw.h.
00113 { 00114 e1000_nvm_unknown = 0, 00115 e1000_nvm_none, 00116 e1000_nvm_eeprom_spi, 00117 e1000_nvm_eeprom_microwire, 00118 e1000_nvm_flash_hw, 00119 e1000_nvm_flash_sw 00120 };
| enum e1000_nvm_override |
Definition at line 122 of file e1000_hw.h.
00122 { 00123 e1000_nvm_override_none = 0, 00124 e1000_nvm_override_spi_small, 00125 e1000_nvm_override_spi_large, 00126 e1000_nvm_override_microwire_small, 00127 e1000_nvm_override_microwire_large 00128 };
| enum e1000_phy_type |
Definition at line 130 of file e1000_hw.h.
00130 { 00131 e1000_phy_unknown = 0, 00132 e1000_phy_none, 00133 e1000_phy_m88, 00134 e1000_phy_igp, 00135 e1000_phy_igp_2, 00136 e1000_phy_gg82563, 00137 e1000_phy_igp_3, 00138 e1000_phy_ife, 00139 };
| enum e1000_bus_type |
Definition at line 141 of file e1000_hw.h.
00141 { 00142 e1000_bus_type_unknown = 0, 00143 e1000_bus_type_pci, 00144 e1000_bus_type_pcix, 00145 e1000_bus_type_pci_express, 00146 e1000_bus_type_reserved 00147 };
| enum e1000_bus_speed |
Definition at line 149 of file e1000_hw.h.
00149 { 00150 e1000_bus_speed_unknown = 0, 00151 e1000_bus_speed_33, 00152 e1000_bus_speed_66, 00153 e1000_bus_speed_100, 00154 e1000_bus_speed_120, 00155 e1000_bus_speed_133, 00156 e1000_bus_speed_2500, 00157 e1000_bus_speed_5000, 00158 e1000_bus_speed_reserved 00159 };
| enum e1000_bus_width |
Definition at line 161 of file e1000_hw.h.
00161 { 00162 e1000_bus_width_unknown = 0, 00163 e1000_bus_width_pcie_x1, 00164 e1000_bus_width_pcie_x2, 00165 e1000_bus_width_pcie_x4 = 4, 00166 e1000_bus_width_pcie_x8 = 8, 00167 e1000_bus_width_32, 00168 e1000_bus_width_64, 00169 e1000_bus_width_reserved 00170 };
Definition at line 172 of file e1000_hw.h.
00172 { 00173 e1000_1000t_rx_status_not_ok = 0, 00174 e1000_1000t_rx_status_ok, 00175 e1000_1000t_rx_status_undefined = 0xFF 00176 };
| enum e1000_rev_polarity |
Definition at line 178 of file e1000_hw.h.
00178 { 00179 e1000_rev_polarity_normal = 0, 00180 e1000_rev_polarity_reversed, 00181 e1000_rev_polarity_undefined = 0xFF 00182 };
| enum e1000_fc_mode |
Definition at line 184 of file e1000_hw.h.
00184 { 00185 e1000_fc_none = 0, 00186 e1000_fc_rx_pause, 00187 e1000_fc_tx_pause, 00188 e1000_fc_full, 00189 e1000_fc_default = 0xFF 00190 };
| enum e1000_ffe_config |
Definition at line 192 of file e1000_hw.h.
00192 { 00193 e1000_ffe_config_enabled = 0, 00194 e1000_ffe_config_active, 00195 e1000_ffe_config_blocked 00196 };
| enum e1000_dsp_config |
| e1000_dsp_config_disabled | |
| e1000_dsp_config_enabled | |
| e1000_dsp_config_activated | |
| e1000_dsp_config_undefined |
Definition at line 198 of file e1000_hw.h.
00198 { 00199 e1000_dsp_config_disabled = 0, 00200 e1000_dsp_config_enabled, 00201 e1000_dsp_config_activated, 00202 e1000_dsp_config_undefined = 0xFF 00203 };
| enum e1000_ms_type |
Definition at line 205 of file e1000_hw.h.
00205 { 00206 e1000_ms_hw_default = 0, 00207 e1000_ms_force_master, 00208 e1000_ms_force_slave, 00209 e1000_ms_auto 00210 };
| enum e1000_smart_speed |
Definition at line 212 of file e1000_hw.h.
00212 { 00213 e1000_smart_speed_default = 0, 00214 e1000_smart_speed_on, 00215 e1000_smart_speed_off 00216 };
Definition at line 218 of file e1000_hw.h.
00218 { 00219 e1000_serdes_link_down = 0, 00220 e1000_serdes_link_autoneg_progress, 00221 e1000_serdes_link_autoneg_complete, 00222 e1000_serdes_link_forced_up 00223 };
| FILE_LICENCE | ( | GPL2_OR_LATER | ) |
| void e1000_pci_clear_mwi | ( | struct e1000_hw * | hw | ) |
Definition at line 117 of file e1000_main.c.
References e1000_hw::back, e1000_hw::bus, e1000_bus_info::pci_cmd_word, PCI_COMMAND, PCI_COMMAND_INVALIDATE, pci_write_config_word(), and e1000_adapter::pdev.
Referenced by e1000_init_hw_82542(), and e1000_reset_hw_82542().
00118 { 00119 struct e1000_adapter *adapter = hw->back; 00120 00121 pci_write_config_word ( adapter->pdev, PCI_COMMAND, 00122 hw->bus.pci_cmd_word & ~PCI_COMMAND_INVALIDATE ); 00123 }
| void e1000_pci_set_mwi | ( | struct e1000_hw * | hw | ) |
Definition at line 125 of file e1000_main.c.
References e1000_hw::back, e1000_hw::bus, e1000_bus_info::pci_cmd_word, PCI_COMMAND, pci_write_config_word(), and e1000_adapter::pdev.
Referenced by e1000_init_hw_82542(), and e1000_reset_hw_82542().
00126 { 00127 struct e1000_adapter *adapter = hw->back; 00128 00129 pci_write_config_word ( adapter->pdev, PCI_COMMAND, 00130 hw->bus.pci_cmd_word ); 00131 }
Referenced by e1000_get_bus_info_pcie_generic().
Referenced by e1000_pcix_mmrbc_workaround_generic(), and e1000_set_lan_id_multi_port_pci().
Referenced by e1000_pcix_mmrbc_workaround_generic().
1.5.7.1