]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] isci: initial sgpio write support
authorDan Williams <dan.j.williams@intel.com>
Fri, 2 Sep 2011 04:18:31 +0000 (21:18 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 22 Sep 2011 11:01:56 +0000 (15:01 +0400)
commitd8d228700a118cf2c056f38825cc781bffdeedcc
tree268882b3dff78ee8fb9977a5f5aa209f7f171fb5
parentfb0cda64397494a5426c05db147f91b2aa2938ba
[SCSI] isci: initial sgpio write support

Basic support to initialize the gpio unit, accept an incomming
SAS_GPIO_REG_TX_GP bitstream, and translate it to the ODx.n fields in
the hardware registers.  If register indexes outside the supported range
are specified in the SMP frame we simply accept the write and return how
many registers (SFF-8485) were written (libsas reports this as residue
in the request).

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/isci/host.c
drivers/scsi/isci/host.h
drivers/scsi/isci/init.c