Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/mfi/mfi_cam.c
Show First 20 Lines • Show All 216 Lines • ▼ Show 20 Lines | case XPT_PATH_INQ: | ||||
cpi->version_num = 1; | cpi->version_num = 1; | ||||
cpi->hba_inquiry = PI_TAG_ABLE; | cpi->hba_inquiry = PI_TAG_ABLE; | ||||
cpi->target_sprt = 0; | cpi->target_sprt = 0; | ||||
cpi->hba_misc = PIM_NOBUSRESET | PIM_SEQSCAN | PIM_UNMAPPED; | cpi->hba_misc = PIM_NOBUSRESET | PIM_SEQSCAN | PIM_UNMAPPED; | ||||
cpi->hba_eng_cnt = 0; | cpi->hba_eng_cnt = 0; | ||||
cpi->max_target = MFI_SCSI_MAX_TARGETS; | cpi->max_target = MFI_SCSI_MAX_TARGETS; | ||||
cpi->max_lun = MFI_SCSI_MAX_LUNS; | cpi->max_lun = MFI_SCSI_MAX_LUNS; | ||||
cpi->initiator_id = MFI_SCSI_INITIATOR_ID; | cpi->initiator_id = MFI_SCSI_INITIATOR_ID; | ||||
strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN); | strlcpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN); | ||||
strncpy(cpi->hba_vid, "LSI", HBA_IDLEN); | strlcpy(cpi->hba_vid, "LSI", HBA_IDLEN); | ||||
imp: Isn't that Marvell these days? Assuming MFI is still for say... | |||||
slmUnsubmitted Not Done Inline ActionsLSI, then Avago, then Broadcom (not Marvell). But, 'Broadcom' should not be used yet. I would keep them all as they are. LSI is OK for MFI and MPT, and Avago Tech (or AVAGO) is OK for the others. slm: LSI, then Avago, then Broadcom (not Marvell). But, 'Broadcom' should not be used yet. I would… | |||||
strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN); | strlcpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN); | ||||
cpi->unit_number = cam_sim_unit(sim); | cpi->unit_number = cam_sim_unit(sim); | ||||
cpi->bus_id = cam_sim_bus(sim); | cpi->bus_id = cam_sim_bus(sim); | ||||
cpi->base_transfer_speed = 150000; | cpi->base_transfer_speed = 150000; | ||||
cpi->transport = XPORT_SAS; | cpi->transport = XPORT_SAS; | ||||
cpi->transport_version = 0; | cpi->transport_version = 0; | ||||
cpi->protocol = PROTO_SCSI; | cpi->protocol = PROTO_SCSI; | ||||
cpi->protocol_version = SCSI_REV_2; | cpi->protocol_version = SCSI_REV_2; | ||||
cpi->ccb_h.status = CAM_REQ_CMP; | cpi->ccb_h.status = CAM_REQ_CMP; | ||||
▲ Show 20 Lines • Show All 241 Lines • Show Last 20 Lines |
Isn't that Marvell these days? Assuming MFI is still for say...