/* ibmvfc_hard_reset_host - Reset the connection to the server by breaking the CRQ @vhost: struct ibmvfc host to reset  */
static void ibmvfc_hard_reset_host(struct ibmvfc_host *vhost)
/* ibmvfc_hard_reset_host - Reset the connection to the server by breaking the CRQ @vhost: struct ibmvfc host to reset  */
static void ibmvfc_hard_reset_host(struct ibmvfc_host *vhost)
{
	int rc;
	scsi_block_requests(vhost->host);
	ibmvfc_purge_requests(vhost, DID_ERROR);
	if ((rc = ibmvfc_reset_crq(vhost)) ||
	    (rc = ibmvfc_send_crq_init(vhost)) ||
	    (rc = vio_enable_interrupts(to_vio_dev(vhost->dev)))) {
		dev_err(vhost->dev, "Error after reset rc=%d\n", rc);
		ibmvfc_link_down(vhost, IBMVFC_LINK_DEAD);
	} else
		ibmvfc_link_down(vhost, IBMVFC_LINK_DOWN);
}