e1000_hw.h File Reference

#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.

Data Structures

struct  e1000_rx_desc
union  e1000_rx_desc_extended
union  e1000_rx_desc_packet_split
struct  e1000_tx_desc
struct  e1000_context_desc
struct  e1000_data_desc
struct  e1000_hw_stats
struct  e1000_phy_stats
struct  e1000_host_mng_dhcp_cookie
struct  e1000_host_command_header
struct  e1000_host_command_info
struct  e1000_host_mng_command_header
struct  e1000_host_mng_command_info
struct  e1000_mac_operations
struct  e1000_phy_operations
struct  e1000_nvm_operations
struct  e1000_mac_info
struct  e1000_phy_info
struct  e1000_nvm_info
struct  e1000_bus_info
struct  e1000_fc_info
struct  e1000_dev_spec_82541
struct  e1000_dev_spec_82542
struct  e1000_dev_spec_82543
struct  e1000_hw

Defines

#define E1000_DEV_ID_82542   0x1000
#define E1000_DEV_ID_82543GC_FIBER   0x1001
#define E1000_DEV_ID_82543GC_COPPER   0x1004
#define E1000_DEV_ID_82544EI_COPPER   0x1008
#define E1000_DEV_ID_82544EI_FIBER   0x1009
#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
#define E1000_DEV_ID_82545GM_COPPER   0x1026
#define E1000_DEV_ID_82545GM_FIBER   0x1027
#define E1000_DEV_ID_82545GM_SERDES   0x1028
#define E1000_DEV_ID_82546EB_COPPER   0x1010
#define E1000_DEV_ID_82546EB_FIBER   0x1012
#define E1000_DEV_ID_82546EB_QUAD_COPPER   0x101D
#define E1000_DEV_ID_82546GB_COPPER   0x1079
#define E1000_DEV_ID_82546GB_FIBER   0x107A
#define E1000_DEV_ID_82546GB_SERDES   0x107B
#define E1000_DEV_ID_82546GB_PCIE   0x108A
#define E1000_DEV_ID_82546GB_QUAD_COPPER   0x1099
#define E1000_DEV_ID_82546GB_QUAD_COPPER_KSP3   0x10B5
#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
#define E1000_REVISION_1   1
#define E1000_REVISION_2   2
#define E1000_REVISION_3   3
#define E1000_REVISION_4   4
#define E1000_FUNC_0   0
#define E1000_FUNC_1   1
#define E1000_ALT_MAC_ADDRESS_OFFSET_LAN0   0
#define E1000_ALT_MAC_ADDRESS_OFFSET_LAN1   3
#define MAX_PS_BUFFERS   4
#define E1000_HI_MAX_DATA_LENGTH   252
#define E1000_HI_MAX_MNG_DATA_LENGTH   0x6F8
#define MAX_MTA_REG   128

Enumerations

enum  e1000_mac_type {
  e1000_undefined = 0, e1000_82542, e1000_82543, e1000_82544,
  e1000_82540, e1000_82545, e1000_82545_rev_3, e1000_82546,
  e1000_82546_rev_3, e1000_82541, e1000_82541_rev_2, e1000_82547,
  e1000_82547_rev_2, e1000_num_macs, e1000_undefined = 0, e1000_82571,
  e1000_82572, e1000_82573, e1000_82574, e1000_82583,
  e1000_80003es2lan, e1000_ich8lan, e1000_ich9lan, e1000_ich10lan,
  e1000_pchlan, e1000_num_macs, e1000_undefined = 0, e1000_82575,
  e1000_82576, e1000_num_macs
}
enum  e1000_media_type {
  e1000_media_type_unknown = 0, e1000_media_type_copper = 1, e1000_media_type_fiber = 2, e1000_media_type_internal_serdes = 3,
  e1000_num_media_types, e1000_media_type_unknown = 0, e1000_media_type_copper = 1, e1000_media_type_fiber = 2,
  e1000_media_type_internal_serdes = 3, e1000_num_media_types, e1000_media_type_unknown = 0, e1000_media_type_copper = 1,
  e1000_media_type_fiber = 2, e1000_media_type_internal_serdes = 3, e1000_num_media_types
}
enum  e1000_nvm_type {
  e1000_nvm_unknown = 0, e1000_nvm_none, e1000_nvm_eeprom_spi, e1000_nvm_eeprom_microwire,
  e1000_nvm_flash_hw, e1000_nvm_flash_sw, e1000_nvm_unknown = 0, e1000_nvm_none,
  e1000_nvm_eeprom_spi, e1000_nvm_flash_hw, e1000_nvm_flash_sw, e1000_nvm_unknown = 0,
  e1000_nvm_none, e1000_nvm_eeprom_spi, e1000_nvm_flash_hw, e1000_nvm_flash_sw
}
enum  e1000_nvm_override {
  e1000_nvm_override_none = 0, e1000_nvm_override_spi_small, e1000_nvm_override_spi_large, e1000_nvm_override_microwire_small,
  e1000_nvm_override_microwire_large, e1000_nvm_override_none = 0, e1000_nvm_override_spi_small, e1000_nvm_override_spi_large,
  e1000_nvm_override_none = 0, e1000_nvm_override_spi_small, e1000_nvm_override_spi_large
}
enum  e1000_phy_type {
  e1000_phy_unknown = 0, e1000_phy_none, e1000_phy_m88, e1000_phy_igp,
  e1000_phy_igp_2, e1000_phy_gg82563, e1000_phy_igp_3, e1000_phy_ife,
  e1000_phy_unknown = 0, e1000_phy_none, e1000_phy_m88, e1000_phy_igp,
  e1000_phy_igp_2, e1000_phy_gg82563, e1000_phy_igp_3, e1000_phy_ife,
  e1000_phy_bm, e1000_phy_82578, e1000_phy_82577, e1000_phy_unknown = 0,
  e1000_phy_none, e1000_phy_m88, e1000_phy_igp, e1000_phy_igp_2,
  e1000_phy_gg82563, e1000_phy_igp_3, e1000_phy_ife, e1000_phy_vf
}
enum  e1000_bus_type {
  e1000_bus_type_unknown = 0, e1000_bus_type_pci, e1000_bus_type_pcix, e1000_bus_type_pci_express,
  e1000_bus_type_reserved, e1000_bus_type_unknown = 0, e1000_bus_type_pci, e1000_bus_type_pcix,
  e1000_bus_type_pci_express, e1000_bus_type_reserved, e1000_bus_type_unknown = 0, e1000_bus_type_pci,
  e1000_bus_type_pcix, e1000_bus_type_pci_express, e1000_bus_type_reserved
}
enum  e1000_bus_speed {
  e1000_bus_speed_unknown = 0, e1000_bus_speed_33, e1000_bus_speed_66, e1000_bus_speed_100,
  e1000_bus_speed_120, e1000_bus_speed_133, e1000_bus_speed_2500, e1000_bus_speed_5000,
  e1000_bus_speed_reserved, e1000_bus_speed_unknown = 0, e1000_bus_speed_33, e1000_bus_speed_66,
  e1000_bus_speed_100, e1000_bus_speed_120, e1000_bus_speed_133, e1000_bus_speed_2500,
  e1000_bus_speed_5000, e1000_bus_speed_reserved, e1000_bus_speed_unknown = 0, e1000_bus_speed_33,
  e1000_bus_speed_66, e1000_bus_speed_100, e1000_bus_speed_120, e1000_bus_speed_133,
  e1000_bus_speed_2500, e1000_bus_speed_5000, e1000_bus_speed_reserved
}
enum  e1000_bus_width {
  e1000_bus_width_unknown = 0, e1000_bus_width_pcie_x1, e1000_bus_width_pcie_x2, e1000_bus_width_pcie_x4 = 4,
  e1000_bus_width_pcie_x8 = 8, e1000_bus_width_32, e1000_bus_width_64, e1000_bus_width_reserved,
  e1000_bus_width_unknown = 0, e1000_bus_width_pcie_x1, e1000_bus_width_pcie_x2, e1000_bus_width_pcie_x4 = 4,
  e1000_bus_width_pcie_x8 = 8, e1000_bus_width_32, e1000_bus_width_64, e1000_bus_width_reserved,
  e1000_bus_width_unknown = 0, e1000_bus_width_pcie_x1, e1000_bus_width_pcie_x2, e1000_bus_width_pcie_x4 = 4,
  e1000_bus_width_pcie_x8 = 8, e1000_bus_width_32, e1000_bus_width_64, e1000_bus_width_reserved
}
enum  e1000_1000t_rx_status {
  e1000_1000t_rx_status_not_ok = 0, e1000_1000t_rx_status_ok, e1000_1000t_rx_status_undefined = 0xFF, e1000_1000t_rx_status_not_ok = 0,
  e1000_1000t_rx_status_ok, e1000_1000t_rx_status_undefined = 0xFF, e1000_1000t_rx_status_not_ok = 0, e1000_1000t_rx_status_ok,
  e1000_1000t_rx_status_undefined = 0xFF
}
enum  e1000_rev_polarity {
  e1000_rev_polarity_normal = 0, e1000_rev_polarity_reversed, e1000_rev_polarity_undefined = 0xFF, e1000_rev_polarity_normal = 0,
  e1000_rev_polarity_reversed, e1000_rev_polarity_undefined = 0xFF, e1000_rev_polarity_normal = 0, e1000_rev_polarity_reversed,
  e1000_rev_polarity_undefined = 0xFF
}
enum  e1000_fc_mode {
  e1000_fc_none = 0, e1000_fc_rx_pause, e1000_fc_tx_pause, e1000_fc_full,
  e1000_fc_default = 0xFF, e1000_fc_none = 0, e1000_fc_rx_pause, e1000_fc_tx_pause,
  e1000_fc_full, e1000_fc_default = 0xFF, e1000_fc_none = 0, e1000_fc_rx_pause,
  e1000_fc_tx_pause, e1000_fc_full, e1000_fc_default = 0xFF
}
enum  e1000_ffe_config { e1000_ffe_config_enabled = 0, e1000_ffe_config_active, e1000_ffe_config_blocked }
enum  e1000_dsp_config { e1000_dsp_config_disabled = 0, e1000_dsp_config_enabled, e1000_dsp_config_activated, e1000_dsp_config_undefined = 0xFF }
enum  e1000_ms_type {
  e1000_ms_hw_default = 0, e1000_ms_force_master, e1000_ms_force_slave, e1000_ms_auto,
  e1000_ms_hw_default = 0, e1000_ms_force_master, e1000_ms_force_slave, e1000_ms_auto,
  e1000_ms_hw_default = 0, e1000_ms_force_master, e1000_ms_force_slave, e1000_ms_auto
}
enum  e1000_smart_speed {
  e1000_smart_speed_default = 0, e1000_smart_speed_on, e1000_smart_speed_off, e1000_smart_speed_default = 0,
  e1000_smart_speed_on, e1000_smart_speed_off, e1000_smart_speed_default = 0, e1000_smart_speed_on,
  e1000_smart_speed_off
}
enum  e1000_serdes_link_state {
  e1000_serdes_link_down = 0, e1000_serdes_link_autoneg_progress, e1000_serdes_link_autoneg_complete, e1000_serdes_link_forced_up,
  e1000_serdes_link_down = 0, e1000_serdes_link_autoneg_progress, e1000_serdes_link_autoneg_complete, e1000_serdes_link_forced_up,
  e1000_serdes_link_down = 0, e1000_serdes_link_autoneg_progress, e1000_serdes_link_autoneg_complete, e1000_serdes_link_forced_up
}

Functions

 FILE_LICENCE (GPL2_OR_LATER)
void e1000_pci_clear_mwi (struct e1000_hw *hw)
void e1000_pci_set_mwi (struct e1000_hw *hw)
s32 e1000_read_pcie_cap_reg (struct e1000_hw *hw, u32 reg, u16 *value)
void e1000_read_pci_cfg (struct e1000_hw *hw, u32 reg, u16 *value)
void e1000_write_pci_cfg (struct e1000_hw *hw, u32 reg, u16 *value)


Define Documentation

#define E1000_DEV_ID_82542   0x1000

Definition at line 40 of file e1000_hw.h.

Referenced by e1000_set_mac_type().

#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

Definition at line 42 of file e1000_hw.h.

Referenced by e1000_set_mac_type().

#define E1000_DEV_ID_82544EI_COPPER   0x1008

Definition at line 43 of file e1000_hw.h.

Referenced by e1000_set_mac_type().

#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

Definition at line 45 of file e1000_hw.h.

Referenced by e1000_set_mac_type().

#define E1000_DEV_ID_82544GC_LOM   0x100D

Definition at line 46 of file e1000_hw.h.

Referenced by e1000_set_mac_type().

#define E1000_DEV_ID_82540EM   0x100E

Definition at line 47 of file e1000_hw.h.

Referenced by e1000_set_mac_type().

#define E1000_DEV_ID_82540EM_LOM   0x1015

Definition at line 48 of file e1000_hw.h.

Referenced by e1000_set_mac_type().

#define E1000_DEV_ID_82540EP_LOM   0x1016

Definition at line 49 of file e1000_hw.h.

Referenced by e1000_set_mac_type().

#define E1000_DEV_ID_82540EP   0x1017

Definition at line 50 of file e1000_hw.h.

Referenced by e1000_set_mac_type().

#define E1000_DEV_ID_82540EP_LP   0x101E

Definition at line 51 of file e1000_hw.h.

Referenced by e1000_set_mac_type().

#define E1000_DEV_ID_82545EM_COPPER   0x100F

Definition at line 52 of file e1000_hw.h.

Referenced by e1000_set_mac_type().

#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

Definition at line 54 of file e1000_hw.h.

Referenced by e1000_set_mac_type().

#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

Definition at line 57 of file e1000_hw.h.

Referenced by e1000_set_mac_type().

#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

Definition at line 59 of file e1000_hw.h.

Referenced by e1000_set_mac_type().

#define E1000_DEV_ID_82546GB_COPPER   0x1079

Definition at line 60 of file e1000_hw.h.

Referenced by e1000_set_mac_type().

#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

Definition at line 63 of file e1000_hw.h.

Referenced by e1000_set_mac_type().

#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

Definition at line 66 of file e1000_hw.h.

Referenced by e1000_set_mac_type().

#define E1000_DEV_ID_82541EI_MOBILE   0x1018

Definition at line 67 of file e1000_hw.h.

Referenced by e1000_set_mac_type().

#define E1000_DEV_ID_82541ER_LOM   0x1014

Definition at line 68 of file e1000_hw.h.

Referenced by e1000_set_mac_type().

#define E1000_DEV_ID_82541ER   0x1078

Definition at line 69 of file e1000_hw.h.

Referenced by e1000_set_mac_type().

#define E1000_DEV_ID_82541GI   0x1076

Definition at line 70 of file e1000_hw.h.

Referenced by e1000_set_mac_type().

#define E1000_DEV_ID_82541GI_LF   0x107C

Definition at line 71 of file e1000_hw.h.

Referenced by e1000_set_mac_type().

#define E1000_DEV_ID_82541GI_MOBILE   0x1077

Definition at line 72 of file e1000_hw.h.

Referenced by e1000_set_mac_type().

#define E1000_DEV_ID_82547EI   0x1019

Definition at line 73 of file e1000_hw.h.

Referenced by e1000_set_mac_type().

#define E1000_DEV_ID_82547EI_MOBILE   0x101A

Definition at line 74 of file e1000_hw.h.

Referenced by e1000_set_mac_type().

#define E1000_DEV_ID_82547GI   0x1075

Definition at line 75 of file e1000_hw.h.

Referenced by e1000_set_mac_type().

#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

#define E1000_REVISION_3   3

Definition at line 79 of file e1000_hw.h.

#define E1000_REVISION_4   4

#define E1000_FUNC_0   0

Definition at line 82 of file e1000_hw.h.

Referenced by igb_shutdown_serdes_link_82575().

#define E1000_FUNC_1   1

#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

#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.


Enumeration Type Documentation

Enumerator:
e1000_undefined 
e1000_82542 
e1000_82543 
e1000_82544 
e1000_82540 
e1000_82545 
e1000_82545_rev_3 
e1000_82546 
e1000_82546_rev_3 
e1000_82541 
e1000_82541_rev_2 
e1000_82547 
e1000_82547_rev_2 
e1000_num_macs 
e1000_undefined 
e1000_82571 
e1000_82572 
e1000_82573 
e1000_82574 
e1000_82583 
e1000_80003es2lan 
e1000_ich8lan 
e1000_ich9lan 
e1000_ich10lan 
e1000_pchlan 
e1000_num_macs 
e1000_undefined 
e1000_82575 
e1000_82576 
e1000_num_macs 

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 };

Enumerator:
e1000_media_type_unknown 
e1000_media_type_copper 
e1000_media_type_fiber 
e1000_media_type_internal_serdes 
e1000_num_media_types 
e1000_media_type_unknown 
e1000_media_type_copper 
e1000_media_type_fiber 
e1000_media_type_internal_serdes 
e1000_num_media_types 
e1000_media_type_unknown 
e1000_media_type_copper 
e1000_media_type_fiber 
e1000_media_type_internal_serdes 
e1000_num_media_types 

Definition at line 105 of file e1000_hw.h.

Enumerator:
e1000_nvm_unknown 
e1000_nvm_none 
e1000_nvm_eeprom_spi 
e1000_nvm_eeprom_microwire 
e1000_nvm_flash_hw 
e1000_nvm_flash_sw 
e1000_nvm_unknown 
e1000_nvm_none 
e1000_nvm_eeprom_spi 
e1000_nvm_flash_hw 
e1000_nvm_flash_sw 
e1000_nvm_unknown 
e1000_nvm_none 
e1000_nvm_eeprom_spi 
e1000_nvm_flash_hw 
e1000_nvm_flash_sw 

Definition at line 113 of file e1000_hw.h.

Enumerator:
e1000_nvm_override_none 
e1000_nvm_override_spi_small 
e1000_nvm_override_spi_large 
e1000_nvm_override_microwire_small 
e1000_nvm_override_microwire_large 
e1000_nvm_override_none 
e1000_nvm_override_spi_small 
e1000_nvm_override_spi_large 
e1000_nvm_override_none 
e1000_nvm_override_spi_small 
e1000_nvm_override_spi_large 

Definition at line 122 of file e1000_hw.h.

Enumerator:
e1000_phy_unknown 
e1000_phy_none 
e1000_phy_m88 
e1000_phy_igp 
e1000_phy_igp_2 
e1000_phy_gg82563 
e1000_phy_igp_3 
e1000_phy_ife 
e1000_phy_unknown 
e1000_phy_none 
e1000_phy_m88 
e1000_phy_igp 
e1000_phy_igp_2 
e1000_phy_gg82563 
e1000_phy_igp_3 
e1000_phy_ife 
e1000_phy_bm 
e1000_phy_82578 
e1000_phy_82577 
e1000_phy_unknown 
e1000_phy_none 
e1000_phy_m88 
e1000_phy_igp 
e1000_phy_igp_2 
e1000_phy_gg82563 
e1000_phy_igp_3 
e1000_phy_ife 
e1000_phy_vf 

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 };

Enumerator:
e1000_bus_type_unknown 
e1000_bus_type_pci 
e1000_bus_type_pcix 
e1000_bus_type_pci_express 
e1000_bus_type_reserved 
e1000_bus_type_unknown 
e1000_bus_type_pci 
e1000_bus_type_pcix 
e1000_bus_type_pci_express 
e1000_bus_type_reserved 
e1000_bus_type_unknown 
e1000_bus_type_pci 
e1000_bus_type_pcix 
e1000_bus_type_pci_express 
e1000_bus_type_reserved 

Definition at line 141 of file e1000_hw.h.

Enumerator:
e1000_bus_speed_unknown 
e1000_bus_speed_33 
e1000_bus_speed_66 
e1000_bus_speed_100 
e1000_bus_speed_120 
e1000_bus_speed_133 
e1000_bus_speed_2500 
e1000_bus_speed_5000 
e1000_bus_speed_reserved 
e1000_bus_speed_unknown 
e1000_bus_speed_33 
e1000_bus_speed_66 
e1000_bus_speed_100 
e1000_bus_speed_120 
e1000_bus_speed_133 
e1000_bus_speed_2500 
e1000_bus_speed_5000 
e1000_bus_speed_reserved 
e1000_bus_speed_unknown 
e1000_bus_speed_33 
e1000_bus_speed_66 
e1000_bus_speed_100 
e1000_bus_speed_120 
e1000_bus_speed_133 
e1000_bus_speed_2500 
e1000_bus_speed_5000 
e1000_bus_speed_reserved 

Definition at line 149 of file e1000_hw.h.

Enumerator:
e1000_bus_width_unknown 
e1000_bus_width_pcie_x1 
e1000_bus_width_pcie_x2 
e1000_bus_width_pcie_x4 
e1000_bus_width_pcie_x8 
e1000_bus_width_32 
e1000_bus_width_64 
e1000_bus_width_reserved 
e1000_bus_width_unknown 
e1000_bus_width_pcie_x1 
e1000_bus_width_pcie_x2 
e1000_bus_width_pcie_x4 
e1000_bus_width_pcie_x8 
e1000_bus_width_32 
e1000_bus_width_64 
e1000_bus_width_reserved 
e1000_bus_width_unknown 
e1000_bus_width_pcie_x1 
e1000_bus_width_pcie_x2 
e1000_bus_width_pcie_x4 
e1000_bus_width_pcie_x8 
e1000_bus_width_32 
e1000_bus_width_64 
e1000_bus_width_reserved 

Definition at line 161 of file e1000_hw.h.

Enumerator:
e1000_1000t_rx_status_not_ok 
e1000_1000t_rx_status_ok 
e1000_1000t_rx_status_undefined 
e1000_1000t_rx_status_not_ok 
e1000_1000t_rx_status_ok 
e1000_1000t_rx_status_undefined 
e1000_1000t_rx_status_not_ok 
e1000_1000t_rx_status_ok 
e1000_1000t_rx_status_undefined 

Definition at line 172 of file e1000_hw.h.

Enumerator:
e1000_rev_polarity_normal 
e1000_rev_polarity_reversed 
e1000_rev_polarity_undefined 
e1000_rev_polarity_normal 
e1000_rev_polarity_reversed 
e1000_rev_polarity_undefined 
e1000_rev_polarity_normal 
e1000_rev_polarity_reversed 
e1000_rev_polarity_undefined 

Definition at line 178 of file e1000_hw.h.

Enumerator:
e1000_fc_none 
e1000_fc_rx_pause 
e1000_fc_tx_pause 
e1000_fc_full 
e1000_fc_default 
e1000_fc_none 
e1000_fc_rx_pause 
e1000_fc_tx_pause 
e1000_fc_full 
e1000_fc_default 
e1000_fc_none 
e1000_fc_rx_pause 
e1000_fc_tx_pause 
e1000_fc_full 
e1000_fc_default 

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 };

Enumerator:
e1000_ffe_config_enabled 
e1000_ffe_config_active 
e1000_ffe_config_blocked 

Definition at line 192 of file e1000_hw.h.

Enumerator:
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.

Enumerator:
e1000_ms_hw_default 
e1000_ms_force_master 
e1000_ms_force_slave 
e1000_ms_auto 
e1000_ms_hw_default 
e1000_ms_force_master 
e1000_ms_force_slave 
e1000_ms_auto 
e1000_ms_hw_default 
e1000_ms_force_master 
e1000_ms_force_slave 
e1000_ms_auto 

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 };

Enumerator:
e1000_smart_speed_default 
e1000_smart_speed_on 
e1000_smart_speed_off 
e1000_smart_speed_default 
e1000_smart_speed_on 
e1000_smart_speed_off 
e1000_smart_speed_default 
e1000_smart_speed_on 
e1000_smart_speed_off 

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 };

Enumerator:
e1000_serdes_link_down 
e1000_serdes_link_autoneg_progress 
e1000_serdes_link_autoneg_complete 
e1000_serdes_link_forced_up 
e1000_serdes_link_down 
e1000_serdes_link_autoneg_progress 
e1000_serdes_link_autoneg_complete 
e1000_serdes_link_forced_up 
e1000_serdes_link_down 
e1000_serdes_link_autoneg_progress 
e1000_serdes_link_autoneg_complete 
e1000_serdes_link_forced_up 

Definition at line 218 of file e1000_hw.h.


Function Documentation

FILE_LICENCE ( GPL2_OR_LATER   ) 

void e1000_pci_clear_mwi ( struct e1000_hw hw  ) 

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 }

s32 e1000_read_pcie_cap_reg ( struct e1000_hw hw,
u32  reg,
u16 value 
)

void e1000_read_pci_cfg ( struct e1000_hw hw,
u32  reg,
u16 value 
)

void e1000_write_pci_cfg ( struct e1000_hw hw,
u32  reg,
u16 value 
)


Generated on Tue Apr 6 20:01:25 2010 for gPXE by  doxygen 1.5.7.1