linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] basic sgpio write support
@ 2011-09-02  4:18 Dan Williams
  2011-09-02  4:18 ` [PATCH 1/3] libsas: " Dan Williams
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Dan Williams @ 2011-09-02  4:18 UTC (permalink / raw)
  To: JBottomley; +Cc: linux-scsi, jacek.danecki

Just enough infrastructure to get raw-bitstream writes operational.  With a
common decode implementation in libsas.  SAS-2 support is deferred as SFF-8485
remains at v0.7 [1].  Read support and the "non-raw" tx registers are deferred
until the general approach is accepted.

For future patches it might be useful to register a 'sgpio' interface in sysfs
for all local phys to accept IBPI commands like "identify" or "fail".  Although,
the driver has no way of verifying if phy0 is routed to sgpio-device0. 

Until then this interface just uses the sas_host bsg device as shown in patch1.

--
Dan

[1]: http://marc.info/?l=linux-scsi&m=130693695829154&w=2

---

Dan Williams (3):
      libsas: sgpio write support
      isci: fix sgpio register definitions
      isci: initial sgpio write support


 drivers/scsi/isci/host.c           |   69 ++++++++++++++++++++
 drivers/scsi/isci/host.h           |   15 ++++
 drivers/scsi/isci/init.c           |    3 +
 drivers/scsi/isci/registers.h      |  122 +-----------------------------------
 drivers/scsi/libsas/sas_host_smp.c |  103 ++++++++++++++++++++++++++++++
 include/scsi/libsas.h              |   11 +++
 include/scsi/sas.h                 |    8 ++
 7 files changed, 211 insertions(+), 120 deletions(-)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-09-02  4:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-02  4:18 [PATCH 0/3] basic sgpio write support Dan Williams
2011-09-02  4:18 ` [PATCH 1/3] libsas: " Dan Williams
2011-09-02  4:18 ` [PATCH 2/3] isci: fix sgpio register definitions Dan Williams
2011-09-02  4:18 ` [PATCH 3/3] isci: initial sgpio write support Dan Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).