public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Add SATA support to libsas/aic94xx
@ 2006-08-11  2:19 Darrick J. Wong
  2006-08-21  3:33 ` James Bottomley
  2006-08-22 17:39 ` [PATCH 3/2] Add SATA support to libsas STP piece for SATA on SAS expanders James Bottomley
  0 siblings, 2 replies; 3+ messages in thread
From: Darrick J. Wong @ 2006-08-11  2:19 UTC (permalink / raw)
  To: linux-scsi; +Cc: Linux Kernel Mailing List, Alexis Bruemmer

Hi,

I've been working on a preliminary patch to enable SATA disk support in
the SAS transport layer.  As it stands now, the patch hooks several
scsi_host_template functions to delegate various port allocation and
command processing functions to libata; this also requires the creation
of a few more functions to ensure that all the scsi_host_template
functions redirect to libata when necessary.  There are also some
helpers so that the hooks don't unduly lengthen the existing functions.
 I'm midway through the implementation and am looking for feedback and
suggestions about how to tighten things up.

At the moment, I've been able to get an 80G Maxtor SATA disk to come up
with the aic94xx driver in both PIO and UDMA modes.  I can do things
like streaming read/write operations, run LTP/pounder stress tests, and
programs like scsi-info and smartctl, and they seem to run ok.

However, there are several sketchy aspects to this patch--I've written
nothing in sas_expander.c to hook up to SATA disks attached to expanders
(will ask Alexis about that one), and the code that tries to push ATA
error codes at libata when SAS errors are seen is rather frightening.
Alas, I don't know ATA error codes quite well enough to feel like I'm
doing justice to the SAS errors.

These patches are based off 2.6.18-rc4 + jejb's scsi-misc, scsi-rc and
aic94xx git trees + Brian King's libata SAS patches.

Questions/comments?  Thanks in advance for feedback,

--Darrick

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

end of thread, other threads:[~2006-08-22 17:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-11  2:19 [PATCH 0/2] Add SATA support to libsas/aic94xx Darrick J. Wong
2006-08-21  3:33 ` James Bottomley
2006-08-22 17:39 ` [PATCH 3/2] Add SATA support to libsas STP piece for SATA on SAS expanders James Bottomley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox