Add YottaYotta to known SMs.
authoreitan <eitan@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 2 Nov 2005 06:41:55 +0000 (06:41 +0000)
committereitan <eitan@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 2 Nov 2005 06:41:55 +0000 (06:41 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@136 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

ulp/opensm/user/libopensm/osm_helper.c

index 860e1d4..c9403ac 100644 (file)
@@ -1847,6 +1847,7 @@ 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
 
 /**********************************************************************
  **********************************************************************/
@@ -1855,12 +1856,13 @@ osm_get_manufacturer_str(
   IN uint64_t              const guid_ho )
 {
   static const char* intel_str         = "Intel      ";
-  static const char* mellanox_str         = "Mellanox   ";
+  static const char* mellanox_str      = "Mellanox   ";
   static const char* redswitch_str     = "Redswitch  ";
-  static const char* silverstorm_str     = "SilverStorm  ";
+  static const char* silverstorm_str   = "SilverStorm ";
   static const char* topspin_str       = "Topspin    ";
   static const char* fujitsu_str       = "Fujitsu    ";
   static const char* voltaire_str      = "Voltaire   ";
+  static const char* yotta_str         = "YottaYotta ";
   static const char* unknown_str       = "Unknown    ";
 
   switch( (uint32_t)(guid_ho >> (5 * 8)) )
@@ -1880,6 +1882,8 @@ osm_get_manufacturer_str(
     return( fujitsu_str );
   case OSM_VENDOR_ID_VOLTAIRE:
     return( voltaire_str );
+  case OSM_VENDOR_ID_YOTTAYOTTA:
+    return( yotta_str );
   default:
     return( unknown_str );
   }