/* ixgbe_release_eeprom - Release EEPROM, release semaphores @hw: pointer to hardware structure  */
static void ixgbe_release_eeprom(struct ixgbe_hw *hw)
/* ixgbe_release_eeprom - Release EEPROM, release semaphores @hw: pointer to hardware structure  */
static void ixgbe_release_eeprom(struct ixgbe_hw *hw)
{
	u32 eec;
	eec = IXGBE_READ_REG(hw, IXGBE_EEC);
	eec |= IXGBE_EEC_CS;
	eec &= ~IXGBE_EEC_SK;
	IXGBE_WRITE_REG(hw, IXGBE_EEC, eec);
	IXGBE_WRITE_FLUSH(hw);
	udelay(1);
	eec &= ~IXGBE_EEC_REQ;
	IXGBE_WRITE_REG(hw, IXGBE_EEC, eec);
	ixgbe_release_swfw_sync(hw, IXGBE_GSSR_EEP_SM);
}