/* return SUCCESS if we obtained the mailbox lock  */
static s32 e1000_obtain_mbx_lock_vf(struct e1000_hw *hw)
/* return SUCCESS if we obtained the mailbox lock  */
static s32 e1000_obtain_mbx_lock_vf(struct e1000_hw *hw)
{
	s32 ret_val = -E1000_ERR_MBX;
	ew32(V2PMAILBOX(0), E1000_V2PMAILBOX_VFU);
	if (e1000_read_v2p_mailbox(hw) & E1000_V2PMAILBOX_VFU)
		ret_val = E1000_SUCCESS;
	return ret_val;
}