* txgbe_check_reset_blocked - check status of MNG FW veto bit * @hw: pointer to the hardware structure * * This function checks the STAT.MNGVETO bit to see if there are * any constraints on link from manageability. For MAC's that don't * have this bit just return faluse since the link can not be blocked * via this method. **/
| 128 | * via this method. |
| 129 | **/ |
| 130 | s32 txgbe_check_reset_blocked(struct txgbe_hw *hw) |
| 131 | { |
| 132 | u32 mmngc; |
| 133 | |
| 134 | mmngc = rd32(hw, TXGBE_STAT); |
| 135 | if (mmngc & TXGBE_STAT_MNGVETO) { |
| 136 | DEBUGOUT("MNG_VETO bit detected."); |
| 137 | return true; |
| 138 | } |
| 139 | |
| 140 | return false; |
| 141 | } |
| 142 | |
| 143 | /** |
| 144 | * txgbe_validate_phy_addr - Determines phy address is valid |
no test coverage detected