[Open-FCoE] [PATCH 2/2] libhbalinux: Add additional APIs in the supported API list

Steve Ma steve.ma at intel.com
Wed Oct 1 02:21:37 UTC 2008


Because the HBA_GetFcpTargetMapping is fixed by the last
patch, more V1 APIs may be added into the supported API list.
Also, HBA_ScsiReportLUNsV2 has been tested to confirm it
works, so it may be added into the supported list.

Signed-off-by: Steve Ma <steve.ma at intel.com>
---

 README            |    5 +++++
 libhbalinux/lib.c |    6 ++----
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/README b/README
index 3d1f08f..d1d71f4 100644
--- a/README
+++ b/README
@@ -47,8 +47,13 @@ The supported API's in this release are:
     HBA_GetAdapterPortAttributes
     HBA_GetPortStatistics
     HBA_GetFC4Statistics
+    HBA_GetFcpTargetMapping
     HBA_GetFcpTargetMappingV2
+    HBA_SendScsiInquiry
+    HBA_SendReportLUNs
+    HBA_SendReadCapacity
     HBA_ScsiInquiryV2
+    HBA_ScsiReportLUNsV2
     HBA_ScsiReadCapacityV2
 
 Libhbalinux is maintained at www.Open-FCoE.org and the latest version can
diff --git a/libhbalinux/lib.c b/libhbalinux/lib.c
index 72d37b8..623b126 100644
--- a/libhbalinux/lib.c
+++ b/libhbalinux/lib.c
@@ -98,8 +98,7 @@ static HBA_ENTRYPOINTSV2 vendor_lib_entrypoints = {
     /* Next function deprecated but still supported */
     .SendRNIDHandler =                         NULL,
     .ScsiInquiryHandler =                      scsi_inquiry_v1,
-    .ReportLUNsHandler =                       NULL,
-					/* scsi_report_luns_v1, */
+    .ReportLUNsHandler =                       scsi_report_luns_v1,
     .ReadCapacityHandler =                     scsi_read_capacity_v1,
 
     /* V2 handlers */
@@ -120,8 +119,7 @@ static HBA_ENTRYPOINTSV2 vendor_lib_entrypoints = {
     .RemoveAllPersistentBindingsHandler =      NULL,
     .SendRNIDV2Handler =                       NULL,
     .ScsiInquiryV2Handler =                    scsi_inquiry_v2,
-    .ScsiReportLUNsV2Handler =                 NULL,
-					/* scsi_report_luns_v2, */
+    .ScsiReportLUNsV2Handler =                 scsi_report_luns_v2,
     .ScsiReadCapacityV2Handler =               scsi_read_capacity_v2,
     .GetVendorLibraryAttributesHandler =       NULL,
 					/* get_vendor_lib_attrs, */




More information about the devel mailing list