Go to the source code of this file.
Defines | |
| #define | ID_LED_RESERVED_F746 0xF746 |
| #define | ID_LED_DEFAULT_82573 |
| #define | E1000_GCR_L1_ACT_WITHOUT_L0S_RX 0x08000000 |
| #define | E1000_EITR_82574(_n) (0x000E8 + (0x4 * (_n))) |
| #define | E1000_EIAC_82574 0x000DC |
| #define | E1000_EIAC_MASK_82574 0x01F00000 |
| #define | E1000_NVM_INIT_CTRL2_MNGM 0x6000 |
| #define | E1000_RXCFGL 0x0B634 |
Functions | |
| FILE_LICENCE (GPL2_OR_LATER) | |
| 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 | |
| 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 | |
| #define ID_LED_RESERVED_F746 0xF746 |
| #define ID_LED_DEFAULT_82573 |
Value:
((ID_LED_DEF1_DEF2 << 12) | \ (ID_LED_OFF1_ON2 << 8) | \ (ID_LED_DEF1_DEF2 << 4) | \ (ID_LED_DEF1_DEF2))
Definition at line 35 of file e1000e_82571.h.
Referenced by e1000e_valid_led_default_82571().
| #define E1000_GCR_L1_ACT_WITHOUT_L0S_RX 0x08000000 |
| #define E1000_EITR_82574 | ( | _n | ) | (0x000E8 + (0x4 * (_n))) |
Definition at line 43 of file e1000e_82571.h.
| #define E1000_EIAC_82574 0x000DC |
Definition at line 45 of file e1000e_82571.h.
| #define E1000_EIAC_MASK_82574 0x01F00000 |
Definition at line 46 of file e1000e_82571.h.
| #define E1000_NVM_INIT_CTRL2_MNGM 0x6000 |
Definition at line 48 of file e1000e_82571.h.
| #define E1000_RXCFGL 0x0B634 |
Definition at line 50 of file e1000e_82571.h.
| FILE_LICENCE | ( | GPL2_OR_LATER | ) |
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 1609 of file e1000e_82571.c.
References e1000_hw::_82571, e1000_hw::dev_spec, e1000_82571, e1000_dev_spec_82571::laa_is_present, e1000_hw::mac, and e1000_mac_info::type.
01610 { 01611 if (hw->mac.type != e1000_82571) 01612 return false; 01613 01614 return hw->dev_spec._82571.laa_is_present; 01615 }
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 1624 of file e1000e_82571.c.
References e1000_hw::_82571, e1000_mac_info::addr, e1000_hw::dev_spec, e1000_82571, e1000e_rar_set(), e1000_dev_spec_82571::laa_is_present, e1000_hw::mac, e1000_mac_info::rar_entry_count, and e1000_mac_info::type.
01625 { 01626 if (hw->mac.type != e1000_82571) 01627 return; 01628 01629 hw->dev_spec._82571.laa_is_present = state; 01630 01631 /* If workaround is activated... */ 01632 if (state) 01633 /* 01634 * Hold a copy of the LAA in RAR[14] This is done so that 01635 * between the time RAR[0] gets clobbered and the time it 01636 * gets fixed, the actual LAA is in one of the RARs and no 01637 * incoming packets directed to this port are dropped. 01638 * Eventually the LAA will be in RAR[0] and RAR[14]. 01639 */ 01640 e1000e_rar_set(hw, hw->mac.addr, 01641 hw->mac.rar_entry_count - 1); 01642 return; 01643 }
1.5.7.1