linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* What's the relation between libsas and scsi_transport_sas.c?
@ 2007-11-09  9:26 Zhao Forrest
  2007-11-09 20:33 ` James Bottomley
  2007-11-13 22:42 ` Moore, Eric
  0 siblings, 2 replies; 3+ messages in thread
From: Zhao Forrest @ 2007-11-09  9:26 UTC (permalink / raw)
  To: linux-scsi

I found that libsas also reference to code of scsi_transport_sas.c.
Will scsi_transport_sas.c be removed finally?
If we add a new SAS LLDD to linux kernel, we should use libsas instead
of the functions defined in scsi_transport_sas.c, right?

Thanks,
Forrest

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

* Re: What's the relation between libsas and scsi_transport_sas.c?
  2007-11-09  9:26 What's the relation between libsas and scsi_transport_sas.c? Zhao Forrest
@ 2007-11-09 20:33 ` James Bottomley
  2007-11-13 22:42 ` Moore, Eric
  1 sibling, 0 replies; 3+ messages in thread
From: James Bottomley @ 2007-11-09 20:33 UTC (permalink / raw)
  To: Zhao Forrest; +Cc: linux-scsi

On Fri, 2007-11-09 at 17:26 +0800, Zhao Forrest wrote:
> I found that libsas also reference to code of scsi_transport_sas.c.
> Will scsi_transport_sas.c be removed finally?
> If we add a new SAS LLDD to linux kernel, we should use libsas instead
> of the functions defined in scsi_transport_sas.c, right?

They're complimentary.  The transport class provides the topology and
service layers for all SAS hosts.  libsas provides additional helpers
and services for the actual protocol management needed on thinner
firmware cards like the aic94xx.  So, either you use scsi_transport_sas
only (for a fat firmware card) or you use both scsi_transport_sas and
libsas (for a thinner firmware card).

James



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

* RE: What's the relation between libsas and scsi_transport_sas.c?
  2007-11-09  9:26 What's the relation between libsas and scsi_transport_sas.c? Zhao Forrest
  2007-11-09 20:33 ` James Bottomley
@ 2007-11-13 22:42 ` Moore, Eric
  1 sibling, 0 replies; 3+ messages in thread
From: Moore, Eric @ 2007-11-13 22:42 UTC (permalink / raw)
  To: Zhao Forrest, linux-scsi

Zhao - mpt fusion uses scsi_transport_sas.c, not libsas.c.    The
scsi_transport_sas.c module can't be removed.    The libsas is for hbas
that have no firmware.

Eric

> -----Original Message-----
> From: linux-scsi-owner@vger.kernel.org 
> [mailto:linux-scsi-owner@vger.kernel.org] On Behalf Of Zhao Forrest
> Sent: Friday, November 09, 2007 2:27 AM
> To: linux-scsi@vger.kernel.org
> Subject: What's the relation between libsas and scsi_transport_sas.c?
> 
> I found that libsas also reference to code of scsi_transport_sas.c.
> Will scsi_transport_sas.c be removed finally?
> If we add a new SAS LLDD to linux kernel, we should use libsas instead
> of the functions defined in scsi_transport_sas.c, right?
> 
> Thanks,
> Forrest
> -
> To unsubscribe from this list: send the line "unsubscribe 
> linux-scsi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

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

end of thread, other threads:[~2007-11-13 22:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-09  9:26 What's the relation between libsas and scsi_transport_sas.c? Zhao Forrest
2007-11-09 20:33 ` James Bottomley
2007-11-13 22:42 ` Moore, Eric

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).