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

Go to the source code of this file.

Macros

#define ID_LED_RESERVED_F746   0xF746
 
#define ID_LED_DEFAULT_82573
 
#define E1000_GCR_L1_ACT_WITHOUT_L0S_RX   0x08000000
 
#define AN_RETRY_COUNT   5 /* Autoneg Retry Count value */
 
#define E1000_BASE1000T_STATUS   10
 
#define E1000_IDLE_ERROR_COUNT_MASK   0xFF
 
#define E1000_RECEIVE_ERROR_COUNTER   21
 
#define E1000_RECEIVE_ERROR_MAX   0xFFFF
 
#define E1000_NVM_INIT_CTRL2_MNGM   0x6000 /* Manageability Operation Mode mask */
 

Functions

bool e1000_check_phy_82574 (struct e1000_hw *hw)
 
bool e1000e_get_laa_state_82571 (struct e1000_hw *hw)
 
void e1000e_set_laa_state_82571 (struct e1000_hw *hw, bool state)
 

Variables

struct e1000_info e1000_82571_info
 
struct e1000_info e1000_82572_info
 
struct e1000_info e1000_82573_info
 
struct e1000_info e1000_82574_info
 
struct e1000_info e1000_82583_info
 

Macro Definition Documentation

#define AN_RETRY_COUNT   5 /* Autoneg Retry Count value */

Definition at line 55 of file 82571.c.

#define E1000_BASE1000T_STATUS   10

Definition at line 56 of file 82571.c.

#define E1000_GCR_L1_ACT_WITHOUT_L0S_RX   0x08000000

Definition at line 54 of file 82571.c.

#define E1000_IDLE_ERROR_COUNT_MASK   0xFF

Definition at line 57 of file 82571.c.

#define E1000_NVM_INIT_CTRL2_MNGM   0x6000 /* Manageability Operation Mode mask */

Definition at line 61 of file 82571.c.

#define E1000_RECEIVE_ERROR_COUNTER   21

Definition at line 58 of file 82571.c.

#define E1000_RECEIVE_ERROR_MAX   0xFFFF

Definition at line 59 of file 82571.c.

#define ID_LED_DEFAULT_82573
Value:
((ID_LED_DEF1_DEF2 << 12) | \
(ID_LED_OFF1_ON2 << 8) | \
(ID_LED_DEF1_DEF2 << 4) | \

Definition at line 49 of file 82571.c.

#define ID_LED_RESERVED_F746   0xF746

Definition at line 48 of file 82571.c.

Function Documentation

bool e1000_check_phy_82574 ( struct e1000_hw hw)

e1000_check_phy_82574 - check 82574 phy hung state : pointer to the HW structure

Returns whether phy is hung or not

Definition at line 1424 of file 82571.c.

bool e1000e_get_laa_state_82571 ( struct e1000_hw hw)

e1000e_get_laa_state_82571 - Get locally administered address state : pointer to the HW structure

Retrieve and return the current locally administered address state.

Definition at line 1759 of file 82571.c.

void e1000e_set_laa_state_82571 ( struct e1000_hw hw,
bool  state 
)

e1000e_set_laa_state_82571 - Set locally administered address state : pointer to the HW structure : enable/disable locally administered address

Enable/Disable the current locally administered address state.

Definition at line 1774 of file 82571.c.

Variable Documentation

struct e1000_info e1000_82571_info
Initial value:
= {
.mac = e1000_82571,
.pba = 38,
.max_hw_frame_size = DEFAULT_JUMBO,
.get_variants = e1000_get_variants_82571,
.mac_ops = &e82571_mac_ops,
.phy_ops = &e82_phy_ops_igp,
.nvm_ops = &e82571_nvm_ops,
}

Definition at line 2023 of file 82571.c.

struct e1000_info e1000_82572_info
Initial value:
= {
.mac = e1000_82572,
.pba = 38,
.max_hw_frame_size = DEFAULT_JUMBO,
.get_variants = e1000_get_variants_82571,
.mac_ops = &e82571_mac_ops,
.phy_ops = &e82_phy_ops_igp,
.nvm_ops = &e82571_nvm_ops,
}

Definition at line 2044 of file 82571.c.

struct e1000_info e1000_82573_info
Initial value:
= {
.mac = e1000_82573,
.pba = 20,
.max_hw_frame_size = ETH_FRAME_LEN + ETH_FCS_LEN,
.get_variants = e1000_get_variants_82571,
.mac_ops = &e82571_mac_ops,
.phy_ops = &e82_phy_ops_m88,
.nvm_ops = &e82571_nvm_ops,
}

Definition at line 2062 of file 82571.c.

struct e1000_info e1000_82574_info
Initial value:
= {
.mac = e1000_82574,
.pba = 32,
.max_hw_frame_size = DEFAULT_JUMBO,
.get_variants = e1000_get_variants_82571,
.mac_ops = &e82571_mac_ops,
.phy_ops = &e82_phy_ops_bm,
.nvm_ops = &e82571_nvm_ops,
}

Definition at line 2080 of file 82571.c.

struct e1000_info e1000_82583_info
Initial value:
= {
.mac = e1000_82583,
.pba = 32,
.max_hw_frame_size = DEFAULT_JUMBO,
.get_variants = e1000_get_variants_82571,
.mac_ops = &e82571_mac_ops,
.phy_ops = &e82_phy_ops_bm,
.nvm_ops = &e82571_nvm_ops,
}

Definition at line 2103 of file 82571.c.