LSI - MR-Fusion controller driver <mrsas> patch and man page

Borja Marcos borjam at sarenet.es
Thu Mar 27 16:25:16 UTC 2014


On Mar 27, 2014, at 3:28 PM, Borja Marcos wrote:

> # camcontrol inq da16
> pass18: <ATA OCZ-VERTEX4 1.5> Fixed Direct Access SCSI-6 device 
> pass18: Serial Number OCZ-SKC094QRU20F444P
> pass18: 150.000MB/s transfers, Command Queueing Enabled
> 
> Still the negotiation seems to be failing, but I wonder if it's more of a firmware problem with the controller, expander or both.

Nevermind, seems that the driver is lying :)

case XPT_PATH_INQ:
        {
            ccb->cpi.version_num = 1;
            ccb->cpi.hba_inquiry = 0;
            ccb->cpi.target_sprt = 0;
            ccb->cpi.hba_misc = 0;
            ccb->cpi.hba_eng_cnt = 0;
            ccb->cpi.max_lun = MRSAS_SCSI_MAX_LUNS;
            ccb->cpi.unit_number = cam_sim_unit(sim);
            ccb->cpi.bus_id = cam_sim_bus(sim);
            ccb->cpi.initiator_id = MRSAS_SCSI_INITIATOR_ID; 
            ccb->cpi.base_transfer_speed = 150000; 
            strncpy(ccb->cpi.sim_vid, "FreeBSD", SIM_IDLEN);
            strncpy(ccb->cpi.hba_vid, "LSI", HBA_IDLEN);
            strncpy(ccb->cpi.dev_name, cam_sim_name(sim), DEV_IDLEN);
            ccb->cpi.transport = XPORT_SPI;
            ccb->cpi.transport_version = 2;
            ccb->cpi.protocol = PROTO_SCSI;





Borja.



More information about the freebsd-scsi mailing list