/* __vxge_hw_vpath_reset_check - Check if resetting the vpath completed This routine checks the vpath_rst_in_prog register to see if adapter completed the reset process for the vpath  */
enum vxge_hw_status __vxge_hw_vpath_reset_check(struct __vxge_hw_virtualpath *vpath)
/* __vxge_hw_vpath_reset_check - Check if resetting the vpath completed This routine checks the vpath_rst_in_prog register to see if adapter completed the reset process for the vpath  */
enum vxge_hw_status __vxge_hw_vpath_reset_check(struct __vxge_hw_virtualpath *vpath)
{
	enum vxge_hw_status status;
	status = __vxge_hw_device_register_poll(
			&vpath->hldev->common_reg->vpath_rst_in_prog,
			VXGE_HW_VPATH_RST_IN_PROG_VPATH_RST_IN_PROG(
				1 << (16 - vpath->vp_id)),
			vpath->hldev->config.device_poll_millis);
	return status;
}