Lines Matching refs:cpi
772 struct ccb_pathinq *cpi = &ccb->cpi;
774 cpi->version_num = 1; /* XXX??? */
775 cpi->hba_inquiry = PI_SDTR_ABLE|PI_TAG_ABLE;
777 cpi->hba_inquiry |= PI_WIDE_16;
779 cpi->target_sprt = PIT_PROCESSOR
783 cpi->target_sprt = 0;
785 cpi->hba_misc = 0;
786 cpi->hba_eng_cnt = 0;
787 cpi->max_target = (ahc->features & AHC_WIDE) ? 15 : 7;
788 cpi->max_lun = AHC_NUM_LUNS - 1;
790 cpi->initiator_id = ahc->our_id_b;
792 cpi->hba_misc |= PIM_NOBUSRESET;
794 cpi->initiator_id = ahc->our_id;
796 cpi->hba_misc |= PIM_NOBUSRESET;
798 cpi->bus_id = cam_sim_bus(sim);
799 cpi->base_transfer_speed = 3300;
800 strlcpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
801 strlcpy(cpi->hba_vid, "Adaptec", HBA_IDLEN);
802 strlcpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
803 cpi->unit_number = cam_sim_unit(sim);
804 cpi->protocol = PROTO_SCSI;
805 cpi->protocol_version = SCSI_REV_2;
806 cpi->transport = XPORT_SPI;
807 cpi->transport_version = 2;
808 cpi->xport_specific.spi.ppr_options = SID_SPI_CLOCK_ST;
810 cpi->transport_version = 3;
811 cpi->xport_specific.spi.ppr_options =
814 cpi->ccb_h.status = CAM_REQ_CMP;