/* Return value: 0 on success / other on failure  */
static int ibmvfc_reenable_crq_queue(struct ibmvfc_host *vhost)
/* Return value: 0 on success / other on failure  */
static int ibmvfc_reenable_crq_queue(struct ibmvfc_host *vhost)
{
	int rc;
	struct vio_dev *vdev = to_vio_dev(vhost->dev);
	do {
		rc = plpar_hcall_norets(H_ENABLE_CRQ, vdev->unit_address);
	} while (rc == H_IN_PROGRESS || rc == H_BUSY || H_IS_LONG_BUSY(rc));
	if (rc)
		dev_err(vhost->dev, "Error enabling adapter (rc=%d)\n", rc);
	return rc;
}