[openib-general] [PATCH] opensm: add Obsidian vendor id

Rolf Manderscheid rvm at obsidianresearch.com
Fri Mar 31 10:55:50 PST 2006


Hi Hal,

Trivial patch to add Obsidian's official vendor id.

Signed-off-by: Rolf Manderscheid <rvm at obsidianresearch.com>

---

    Rolf

Index: src/userspace/management/osm/opensm/osm_helper.c
===================================================================
--- src/userspace/management/osm/opensm/osm_helper.c	(revision 6132)
+++ src/userspace/management/osm/opensm/osm_helper.c	(working copy)
@@ -1904,12 +1904,13 @@ osm_get_node_type_str_fixed_width(
 #define OSM_VENDOR_ID_FUJITSU    0x00E000
 #define OSM_VENDOR_ID_FUJITSU2      0x000B5D
 #define OSM_VENDOR_ID_VOLTAIRE   0x0008F1
-#define OSM_VENDOR_ID_YOTTAYOTTA    0x000453	/* Also, Obsidian Research */
+#define OSM_VENDOR_ID_YOTTAYOTTA    0x000453
 #define OSM_VENDOR_ID_PATHSCALE     0x001175
 #define OSM_VENDOR_ID_IBM           0x000255
 #define OSM_VENDOR_ID_DIVERGENET    0x00084E
 #define OSM_VENDOR_ID_FLEXTRONICS   0x000B8C
 #define OSM_VENDOR_ID_AGILENT       0x0030D3
+#define OSM_VENDOR_ID_OBSIDIAN      0x001777
 
 /**********************************************************************
  **********************************************************************/
@@ -1930,6 +1931,7 @@ osm_get_manufacturer_str(
   static const char* divergenet_str    = "DivergeNet ";
   static const char* flextronics_str   = "Flextronics ";
   static const char* agilent_str       = "Agilent    ";
+  static const char* obsidian_str      = "Obsidian   ";
   static const char* unknown_str       = "Unknown    ";
 
   switch( (uint32_t)(guid_ho >> (5 * 8)) )
@@ -1961,6 +1963,8 @@ osm_get_manufacturer_str(
     return( flextronics_str );
   case OSM_VENDOR_ID_AGILENT:
     return( agilent_str );
+  case OSM_VENDOR_ID_OBSIDIAN:
+    return( obsidian_str );
   default:
     return( unknown_str );
   }



More information about the general mailing list