[openib-general] [PATCH] OpenSM: Add vendor decode support some new IB hardware vendors

Hal Rosenstock halr at voltaire.com
Fri Nov 18 07:15:29 PST 2005


OpenSM: Add vendor decode support some new IB hardware vendors
(PathScale and IBM)

Signed-off-by: Hal Rosenstock <halr at voltaire.com>

Index: opensm/osm_helper.c
===================================================================
--- opensm/osm_helper.c	(revision 4077)
+++ opensm/osm_helper.c	(working copy)
@@ -1851,6 +1851,8 @@ osm_get_node_type_str_fixed_width(
 #define OSM_VENDOR_ID_FUJITSU2      0x000B5D
 #define OSM_VENDOR_ID_VOLTAIRE   0x0008F1
 #define OSM_VENDOR_ID_YOTTAYOTTA    0x000453
+#define OSM_VENDOR_ID_PATHSCALE     0x001175
+#define OSM_VENDOR_ID_IBM           0x000255
 
 /**********************************************************************
  **********************************************************************/
@@ -1866,6 +1868,8 @@ osm_get_manufacturer_str(
   static const char* fujitsu_str       = "Fujitsu    ";
   static const char* voltaire_str      = "Voltaire   ";
   static const char* yotta_str         = "YottaYotta ";
+  static const char* pathscale_str     = "PathScale  ";
+  static const char* ibm_str           = "IBM        ";
   static const char* unknown_str       = "Unknown    ";
 
   switch( (uint32_t)(guid_ho >> (5 * 8)) )
@@ -1887,6 +1891,10 @@ osm_get_manufacturer_str(
     return( voltaire_str );
   case OSM_VENDOR_ID_YOTTAYOTTA:
     return( yotta_str );
+  case OSM_VENDOR_ID_PATHSCALE:
+    return( pathscale_str );
+  case OSM_VENDOR_ID_IBM:
+    return( ibm_str );
   default:
     return( unknown_str );
   }






More information about the general mailing list