Skip to contentSkip to conversation

What's the relation between libsas and scsi_transport_sas.c?

DISCUSSION Zhao Forrest 3 participants 3 messages Nov 9, 2007 – Nov 13, 2007 SCSI

lore
Share & tools
lore
#0 lore raw

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

maintainer
#1 lore raw
Quoted 4 lines · Zhao Forrest

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

#2 lore raw
In reply to Zhao Forrest

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

Quoted 20 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Zhao Forrest
Sent: Friday, November 09, 2007 2:27 AM
To: [email protected]
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html