linux/include/scsi
Dan Williams 8ec6552f4a [SCSI] libsas: sgpio write support
Add SFF-8485 v0.7 / SAS-1 smp-write-gpio register support to libsas.
Defer SAS-2 support unless/until it defines an sgpio interface.

Minimum implementation needed to get the lights blinking.
try_test_sas_gpio_gp_bit() provides a common method to parse the
incoming write data (raw bitstream), and the to_sas_gpio_gp_bit() helper
routine can be used as a basis for the set/clear operations for the
'read' implementation.  Host implementations parse as many bits
(ODx.[012]) as are locally supported and report the number of registers
successfully written.  If the submitted data overruns the internal
number of registers available report the write as a success with the
number of bytes remaining reported in ->resid_len.

Example (assuming an active backplane) set the "identify" pattern for
the first 21 devices:

smp_write_gpio --count=2 --data=92,49,24,92,24,92,49,24 -t 4 --index=1 /dev/bsg/sas_hostX

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2011-09-22 14:59:09 +04:00
..
fc Fix common misspellings 2011-03-31 11:26:23 -03:00
fc_encode.h
fc_frame.h [SCSI] fcoe: remove unused ptype field in fcoe_rcv_info 2011-07-28 12:08:55 +04:00
iscsi_if.h [SCSI] scsi_transport_iscsi: Added support to update initiator iscsi port 2011-08-27 08:36:37 -06:00
iscsi_proto.h iscsi: Add Serial Number Arithmetic LT and GT into iscsi_proto.h 2011-07-25 07:48:08 +00:00
Kbuild
libfc.h [SCSI] libfc, tcm_fc: add ddp_targ() to libfc function template to supprot FCoE DDP in target mode 2011-06-29 16:28:39 -05:00
libfcoe.h [SCSI] fcoe: Move common functions to fcoe_transport library 2011-08-27 08:35:46 -06:00
libiscsi_tcp.h Fix common misspellings 2011-03-31 11:26:23 -03:00
libiscsi.h iscsi: Use struct scsi_lun in iscsi structs instead of u8[8] 2011-07-25 07:47:59 +00:00
libsas.h [SCSI] libsas: sgpio write support 2011-09-22 14:59:09 +04:00
libsrp.h
osd_attributes.h
osd_initiator.h treewide: Fix recieve/receive typos 2011-06-24 11:18:57 +02:00
osd_ore.h exofs: Rename raid engine from exofs/ios.c => ore 2011-08-06 19:36:18 -07:00
osd_protocol.h
osd_sec.h
osd_sense.h
osd_types.h
sas_ata.h
sas.h [SCSI] libsas: sgpio write support 2011-09-22 14:59:09 +04:00
scsi_bsg_fc.h
scsi_bsg_iscsi.h [SCSI] iscsi class: add bsg support to iscsi class 2011-08-27 08:36:21 -06:00
scsi_cmnd.h
scsi_dbg.h
scsi_device.h [SCSI] scsi_dh: Implement match callback function 2011-08-30 12:28:30 -07:00
scsi_devinfo.h
scsi_dh.h
scsi_driver.h
scsi_eh.h
scsi_host.h [SCSI] scsi scan: don't fail scans when host is in recovery 2011-08-29 00:16:19 -07:00
scsi_ioctl.h
scsi_netlink_fc.h
scsi_netlink.h
scsi_scan.h
scsi_tcq.h [SCSI] target: Convert TASK_ATTR to scsi_tcq.h definitions 2011-05-24 13:03:56 -04:00
scsi_tgt_if.h
scsi_tgt.h
scsi_transport_fc.h Fix common misspellings 2011-03-31 11:26:23 -03:00
scsi_transport_iscsi.h [SCSI] scsi_transport_iscsi: Add conn login, kernel to user, event to support offload session login. 2011-08-27 08:36:23 -06:00
scsi_transport_sas.h
scsi_transport_spi.h
scsi_transport_srp.h
scsi_transport.h
scsi.h treewide: fix potentially dangerous trailing ';' in #defined values/expressions 2011-07-21 14:10:00 +02:00
scsicam.h
sg.h
srp.h