/* This function updates the chip attention register bit for the given ring to inform HBA that there is more work to be done in this ring. The caller is not required to hold any lock.  */
static void lpfc_sli_update_ring(struct lpfc_hba *phba, struct lpfc_sli_ring *pring)
/* This function updates the chip attention register bit for the given ring to inform HBA that there is more work to be done in this ring. The caller is not required to hold any lock.  */
static void lpfc_sli_update_ring(struct lpfc_hba *phba, struct lpfc_sli_ring *pring)
{
	int ringno = pring->ringno;
	if (!(phba->sli3_options & LPFC_SLI3_CRP_ENABLED)) {
		wmb();
		writel(CA_R0ATT << (ringno * 4), phba->CAregaddr);
		readl(phba->CAregaddr);
	}
}