/* This function is used to read the v2p mailbox without losing the read to clear status bits.  */
static u32 e1000_read_v2p_mailbox(struct e1000_hw *hw)
/* This function is used to read the v2p mailbox without losing the read to clear status bits.  */
static u32 e1000_read_v2p_mailbox(struct e1000_hw *hw)
{
	u32 v2p_mailbox = er32(V2PMAILBOX(0));
	v2p_mailbox |= hw->dev_spec.vf.v2p_mailbox;
	hw->dev_spec.vf.v2p_mailbox |= v2p_mailbox & E1000_V2PMAILBOX_R2C_BITS;
	return v2p_mailbox;
}