Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/mpr/mpr_sas.c
Show First 20 Lines • Show All 981 Lines • ▼ Show 20 Lines | #if (__FreeBSD_version >= 1000039) || \ | ||||
cpi->hba_misc = PIM_NOBUSRESET | PIM_UNMAPPED | PIM_NOSCAN; | cpi->hba_misc = PIM_NOBUSRESET | PIM_UNMAPPED | PIM_NOSCAN; | ||||
#else | #else | ||||
cpi->hba_misc = PIM_NOBUSRESET | PIM_UNMAPPED; | cpi->hba_misc = PIM_NOBUSRESET | PIM_UNMAPPED; | ||||
#endif | #endif | ||||
cpi->hba_eng_cnt = 0; | cpi->hba_eng_cnt = 0; | ||||
cpi->max_target = sassc->maxtargets - 1; | cpi->max_target = sassc->maxtargets - 1; | ||||
cpi->max_lun = 255; | cpi->max_lun = 255; | ||||
cpi->initiator_id = sassc->maxtargets - 1; | cpi->initiator_id = sassc->maxtargets - 1; | ||||
strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN); | strlcpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN); | ||||
strncpy(cpi->hba_vid, "Avago Tech (LSI)", HBA_IDLEN); | strlcpy(cpi->hba_vid, "Avago Tech", HBA_IDLEN); | ||||
imp: Isn't that Marvell now? | |||||
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); | ||||
/* | /* | ||||
* XXXSLM-I think this needs to change based on config page or | * XXXSLM-I think this needs to change based on config page or | ||||
* something instead of hardcoded to 150000. | * something instead of hardcoded to 150000. | ||||
*/ | */ | ||||
cpi->base_transfer_speed = 150000; | cpi->base_transfer_speed = 150000; | ||||
cpi->transport = XPORT_SAS; | cpi->transport = XPORT_SAS; | ||||
▲ Show 20 Lines • Show All 2,565 Lines • Show Last 20 Lines |
Isn't that Marvell now?