[openib-general] [PATCH] [TRIVIAL] OpenSM: Add DivergeNet into recognized vendors in osm_helper.c

Hal Rosenstock halr at voltaire.com
Thu Dec 8 06:15:33 PST 2005


OpenSM: Add DivergeNet into list of recognized manufacturers in
osm_helper.c::osm_get_manufacturer_str

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

Index: osm_helper.c
===================================================================
--- osm_helper.c	(revision 4332)
+++ osm_helper.c	(working copy)
@@ -1849,6 +1849,7 @@ osm_get_node_type_str_fixed_width(
 #define OSM_VENDOR_ID_YOTTAYOTTA    0x000453	/* Also, Obsidian Research */
 #define OSM_VENDOR_ID_PATHSCALE     0x001175
 #define OSM_VENDOR_ID_IBM           0x000255
+#define OSM_VENDOR_ID_DIVERGENET    0x00084E
 
 /**********************************************************************
  **********************************************************************/
@@ -1866,6 +1867,7 @@ osm_get_manufacturer_str(
   static const char* yotta_str         = "YottaYotta ";
   static const char* pathscale_str     = "PathScale  ";
   static const char* ibm_str           = "IBM        ";
+  static const char* divergenet_str    = "DivergeNet ";
   static const char* unknown_str       = "Unknown    ";
 
   switch( (uint32_t)(guid_ho >> (5 * 8)) )
@@ -1891,6 +1893,8 @@ osm_get_manufacturer_str(
     return( pathscale_str );
   case OSM_VENDOR_ID_IBM:
     return( ibm_str );
+  case OSM_VENDOR_ID_DIVERGENET:
+    return( divergenet_str );
   default:
     return( unknown_str );
   }






More information about the general mailing list