/* Reads the firmware semaphore register and returns true (>0) if manageability is enabled, else false (0).  */
bool e1000e_check_mng_mode_generic(struct e1000_hw *hw)
/* Reads the firmware semaphore register and returns true (>0) if manageability is enabled, else false (0).  */
bool e1000e_check_mng_mode_generic(struct e1000_hw *hw)
{
	u32 fwsm = er32(FWSM);
	return (fwsm & E1000_FWSM_MODE_MASK) ==
		(E1000_MNG_IAMT_MODE << E1000_FWSM_MODE_SHIFT);
}