freebsd-skq/sys/dev/mps
Kenneth D. Merry d2b4e18b21 Fix TLR (Transport Layer Retry) support in the mps(4) and mpr(4) drivers.
TLR is necessary for reliable communication with SAS tape drives.

This was broken by change 246713 in the mps(4) driver.  It changed the
cm_data field for SCSI I/O requests to point to the CCB instead of the data
buffer.  So, instead, look at the CCB's data pointer to determine whether
or not we're talking to a tape drive.

Also, take the residual into account to make sure that we don't go off the
end of the request.

MFC after:	3 days
Sponsored by:	Spectra Logic Corporation
2014-05-08 20:28:22 +00:00
..
mpi
mps_config.c Merge in phase 14+ -> 16 mps driver fixes from LSI: 2013-07-22 18:41:53 +00:00
mps_ioctl.h
mps_mapping.c Merge in phase 14+ -> 16 mps driver fixes from LSI: 2013-07-22 18:41:53 +00:00
mps_mapping.h
mps_pci.c Update PCI drivers to no longer look at the MEMIO-enabled bit in the PCI 2013-08-12 23:30:01 +00:00
mps_sas_lsi.c Fix an issue that caused Integrated RAID volumes on LSI mps(4) controllers 2013-09-12 22:06:12 +00:00
mps_sas.c Fix TLR (Transport Layer Retry) support in the mps(4) and mpr(4) drivers. 2014-05-08 20:28:22 +00:00
mps_sas.h Add some assertions to ensure that the target array doesn't get accessed 2014-04-07 15:13:24 +00:00
mps_table.c Overhaul error, information, and debug logging. 2013-07-19 00:12:41 +00:00
mps_table.h
mps_user.c Merge in phase 14+ -> 16 mps driver fixes from LSI: 2013-07-22 18:41:53 +00:00
mps.c Pass proper pointer to bus_dmamem_free() in mps_iocfacts_free(). 2014-02-27 11:34:26 +00:00
mpsvar.h Rate limit the 'out of chain frame' messages to once per 60 seconds. 2013-08-09 01:10:33 +00:00