Lines Matching refs:cpi
744 struct ccb_pathinq *cpi; in cfcs_action() local
746 cpi = &ccb->cpi; in cfcs_action()
748 cpi->version_num = 0; in cfcs_action()
749 cpi->hba_inquiry = PI_TAG_ABLE; in cfcs_action()
750 cpi->target_sprt = 0; in cfcs_action()
751 cpi->hba_misc = PIM_EXTLUNS; in cfcs_action()
752 cpi->hba_eng_cnt = 0; in cfcs_action()
753 cpi->max_target = 0; in cfcs_action()
754 cpi->max_lun = 1024; in cfcs_action()
756 cpi->maxio = 1024 * 1024; in cfcs_action()
757 cpi->async_flags = 0; in cfcs_action()
758 cpi->hpath_id = 0; in cfcs_action()
759 cpi->initiator_id = 1; in cfcs_action()
761 strlcpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN); in cfcs_action()
762 strlcpy(cpi->hba_vid, "FreeBSD", HBA_IDLEN); in cfcs_action()
763 strlcpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN); in cfcs_action()
764 cpi->unit_number = 0; in cfcs_action()
765 cpi->bus_id = 0; in cfcs_action()
766 cpi->base_transfer_speed = 800000; in cfcs_action()
767 cpi->protocol = PROTO_SCSI; in cfcs_action()
768 cpi->protocol_version = SCSI_REV_SPC2; in cfcs_action()
772 cpi->transport = XPORT_FC; in cfcs_action()
773 cpi->transport_version = 0; in cfcs_action()
774 cpi->xport_specific.fc.wwnn = softc->wwnn; in cfcs_action()
775 cpi->xport_specific.fc.wwpn = softc->wwpn; in cfcs_action()
776 cpi->xport_specific.fc.port = softc->port.targ_port; in cfcs_action()
777 cpi->xport_specific.fc.bitrate = 8 * 1000 * 1000; in cfcs_action()
778 cpi->ccb_h.status = CAM_REQ_CMP; in cfcs_action()