/* Acquire the necessary semaphores for exclusive access to the EEPROM. Set the EEPROM access request bit and wait for EEPROM access grant bit. Return successful if access grant bit set, else clear the request for EEPROM access and return -E1000_ERR_NVM (-1).  */
static s32 igb_acquire_nvm_82575(struct e1000_hw *)
/* Acquire the necessary semaphores for exclusive access to the EEPROM. Set the EEPROM access request bit and wait for EEPROM access grant bit. Return successful if access grant bit set, else clear the request for EEPROM access and return -E1000_ERR_NVM (-1).  */
static s32 igb_acquire_nvm_82575(struct e1000_hw *)
{
	s32 ret_val;
	ret_val = igb_acquire_swfw_sync_82575(hw, E1000_SWFW_EEP_SM);
	if (ret_val)
		goto out;
	ret_val = igb_acquire_nvm(hw);
	if (ret_val)
		igb_release_swfw_sync_82575(hw, E1000_SWFW_EEP_SM);
out:
	return ret_val;
}