/* This checks if the adapter has manageability enabled. This is a function pointer entry point only called by read/write routines for the PHY and NVM parts.  */
static bool e1000_check_mng_mode_ich8lan(struct e1000_hw *hw)
/* This checks if the adapter has manageability enabled. This is a function pointer entry point only called by read/write routines for the PHY and NVM parts.  */
static bool e1000_check_mng_mode_ich8lan(struct e1000_hw *hw)
{
	u32 fwsm;
	fwsm = er32(FWSM);
	return (fwsm & E1000_FWSM_MODE_MASK) ==
		(E1000_ICH_MNG_IAMT_MODE << E1000_FWSM_MODE_SHIFT);
}