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

Desai, Kashyap Kashyap.Desai at lsi.com
Fri Mar 28 07:38:54 UTC 2014



> -----Original Message-----
> From: owner-freebsd-scsi at freebsd.org [mailto:owner-freebsd-
> scsi at freebsd.org] On Behalf Of Borja Marcos
> Sent: Thursday, March 27, 2014 9:55 PM
> To: Doug Ambrisko
> Cc: scottl at netflix.com; Radford, Adam; sean_bruno at yahoo.com; Mankani,
> Krishnaraddi; dwhite at ixsystems.com; Maloy, Joe; jpaetzel at freebsd.org;
> freebsd-scsi at freebsd.org; Kenneth D. Merry; McConnell, Stephen
> Subject: Re: LSI - MR-Fusion controller driver <mrsas> patch and man page
> 
> 
> 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;
This we need to take care in driver based on Device id bases... Possible changes for this ..
	 if ((sc->device_id == MRSAS_INVADER) || (sc->device_id == MRSAS_FURY)) {
		ccb->cpi.base_transfer_speed = 150000;
	} else
		ccb->cpi.base_transfer_speed = 300000;

Is the " base_transfer_speed" used in <mfi>/<mpt>/<mps> driver correct ? I am bit confused  - what is a correct value to be used here ?
Any idea ?

>             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.
> 
> _______________________________________________
> freebsd-scsi at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-scsi
> To unsubscribe, send any mail to "freebsd-scsi-unsubscribe at freebsd.org"



More information about the freebsd-scsi mailing list