[ofa-general] ***SPAM*** [PATCH] opensm: Add Dell to known vendor list
Hal Rosenstock
hnrose at comcast.net
Tue Apr 14 11:53:19 PDT 2009
Signed-off-by: Hal Rosenstock <hal.rosenstock at gmail.com>
---
diff --git a/opensm/include/opensm/osm_base.h b/opensm/include/opensm/osm_base.h
index 2d0ecd7..e973a70 100644
--- a/opensm/include/opensm/osm_base.h
+++ b/opensm/include/opensm/osm_base.h
@@ -871,6 +871,7 @@ typedef enum _osm_sm_signal {
#define OSM_VENDOR_ID_3LEAFNTWKS 0x0016A1
#define OSM_VENDOR_ID_XSIGO 0x001397
#define OSM_VENDOR_ID_HP2 0x0018FE
+#define OSM_VENDOR_ID_DELL 0x00188B
/**********/
diff --git a/opensm/opensm/osm_helper.c b/opensm/opensm/osm_helper.c
index 10547fa..ac4b372 100644
--- a/opensm/opensm/osm_helper.c
+++ b/opensm/opensm/osm_helper.c
@@ -2234,6 +2234,7 @@ const char *osm_get_manufacturer_str(IN uint64_t const guid_ho)
static const char *sun_str = "Sun";
static const char *leafntwks_str = "3LeafNtwks";
static const char *xsigo_str = "Xsigo";
+ static const char *dell_str = "Dell";
static const char *unknown_str = "Unknown";
switch ((uint32_t) (guid_ho >> (5 * 8))) {
@@ -2285,6 +2286,8 @@ const char *osm_get_manufacturer_str(IN uint64_t const guid_ho)
return (leafntwks_str);
case OSM_VENDOR_ID_XSIGO:
return (xsigo_str);
+ case OSM_VENDOR_ID_DELL:
+ return (dell_str);
default:
return (unknown_str);
}
More information about the general
mailing list