/* returns true if the PF has set the reset done bit or else false  */
static s32 e1000_check_for_rst_vf(struct e1000_hw *hw)
/* returns true if the PF has set the reset done bit or else false  */
static s32 e1000_check_for_rst_vf(struct e1000_hw *hw)
{
	s32 ret_val = -E1000_ERR_MBX;
	if (!e1000_check_for_bit_vf(hw, (E1000_V2PMAILBOX_RSTD |
	                                 E1000_V2PMAILBOX_RSTI))) {
		ret_val = E1000_SUCCESS;
		hw->mbx.stats.rsts++;
	}
	return ret_val;
}