freebsd-skq/sys/dev/isci
jimharris 3bda4941ce Don't call bus_dmamap_load in CAM_DIR_NONE case, since there is nothing
to map, and technically this isn't allowed.

Functionally, it works OK (at least on x86) to call bus_dmamap_load with
a NULL data pointer and zero length, so this is primarily for correctness
and consistency with other drivers.

While here, remove check in isci_io_request_construct for nseg==0.
Previously, bus_dmamap_load would pass nseg==1, even for case where
buffer is NULL and length = 0, which allowed CAM_DIR_NONE CCBs
to get processed.  This check is not correct though, and needed to be
removed both for the changes elsewhere in this patch, as well as jeff's
preliminary bus_dmamap_load_ccb patch (which uncovered all of this in
the first place).

MFC after:	3 days
2012-12-05 20:21:33 +00:00
..
scil Fix typo: s/protocl/protocol 2012-09-20 10:07:31 +00:00
environment.h
isci_controller.c Add support for locate LED. 2012-10-10 18:01:56 +00:00
isci_domain.c Ensure consistent target IDs for direct-attached devices. 2012-03-28 18:38:13 +00:00
isci_interrupt.c Wait until completion context unwinds before retrying CCBs that have been 2012-05-21 22:54:33 +00:00
isci_io_request.c Don't call bus_dmamap_load in CAM_DIR_NONE case, since there is nothing 2012-12-05 20:21:33 +00:00
isci_logger.c
isci_oem_parameters.c
isci_remote_device.c Clear freeze bit before calling xpt_release_devq. 2012-08-24 22:04:16 +00:00
isci_sysctl.c
isci_task_request.c Fix the following compilation warning with clang trunk in isci(4): 2012-03-30 22:52:08 +00:00
isci_timer.c
isci.c Add support for locate LED. 2012-10-10 18:01:56 +00:00
isci.h Add support for locate LED. 2012-10-10 18:01:56 +00:00
README
sci_environment.h
types.h

FreeBSD Driver for Intel(R) C600 SAS Controller
===============================================

This driver has been developed for use with FreeBSD, version 9.0 and later.

This driver uses an OS-agnostic abstraction layer library named SCIL that is
published by Intel specifically for the C600 SAS controller.  The SAS
controller has no firmware, so the driver is extensive and using SCIL
minimizes the development and maintenance cost of the driver.

The FreeBSD implementation files are in the isci directory, and SCIL files
are in the isci/scil subdirectory.  As Intel publishes new versions of SCIL
(to add features or fix bugs), the isci/scil subdirectory will be updated
appropriately.