View | Details | Raw Unified | Return to bug 240145
Collapse All | Expand All

(-)b/src/FreeBSD_cam.c (-1 / +1 lines)
Lines 51-57 static void update_sim_properties(struct cam_sim *sim, struct ccb_pathinq *cpi) Link Here
51
	cpi->hba_eng_cnt = 0;
51
	cpi->hba_eng_cnt = 0;
52
	cpi->max_lun = PQI_MAX_MULTILUN;
52
	cpi->max_lun = PQI_MAX_MULTILUN;
53
	cpi->max_target = 0;
53
	cpi->max_target = 0;
54
	cpi->maxio = (softs->pqi_cap.max_sg_elem - 1) * PAGE_SIZE;
54
	cpi->maxio = 128 * 1024;
55
	cpi->initiator_id = 255;
55
	cpi->initiator_id = 255;
56
	strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN-1);
56
	strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN-1);
57
	cpi->sim_vid[sizeof(cpi->sim_vid)-1] = '\0';
57
	cpi->sim_vid[sizeof(cpi->sim_vid)-1] = '\0';

Return to bug 240145