1. 22 Sep, 2011 2 commits
    • Dan Williams's avatar
      [SCSI] isci: fix sgpio register definitions · 13257cfb
      Dan Williams authored
      output_data_select registers are off by one u32
      
      delete the macros we will never use.
      Reported-by: default avatarArtur Wojcik <artur.wojcik@intel.com>
      Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
      Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
      13257cfb
    • Dan Williams's avatar
      [SCSI] libsas: sgpio write support · 8ec6552f
      Dan Williams authored
      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: default avatarDan Williams <dan.j.williams@intel.com>
      Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
      8ec6552f
  2. 18 Sep, 2011 1 commit
  3. 17 Sep, 2011 8 commits
  4. 30 Aug, 2011 10 commits
  5. 29 Aug, 2011 19 commits