[ofa-general] [PATCH] opensm: Add new Sun vendor ID

Line.Holen at Sun.COM Line.Holen at Sun.COM
Tue Jul 7 07:07:52 PDT 2009


Signed-off-by: Line Holen <Line.Holen at Sun.COM>

---

diff --git a/opensm/include/opensm/osm_base.h b/opensm/include/opensm/osm_base.h
index 03eed79..0537002 100644
--- a/opensm/include/opensm/osm_base.h
+++ b/opensm/include/opensm/osm_base.h
@@ -2,6 +2,7 @@
  * Copyright (c) 2004-2008 Voltaire, Inc. All rights reserved.
  * Copyright (c) 2002-2006 Mellanox Technologies LTD. All rights reserved.
  * Copyright (c) 1996-2003 Intel Corporation. All rights reserved.
+ * Copyright (c) 2009 Sun Microsystems, Inc. All rights reserved.
  *
  * This software is available to you under a choice of one of two
  * licenses.  You may choose to be licensed under the terms of the GNU
@@ -864,6 +865,7 @@ typedef enum _osm_sm_signal {
 #define OSM_VENDOR_ID_HP            0x001708
 #define OSM_VENDOR_ID_RIOWORKS      0x005045
 #define OSM_VENDOR_ID_SUN           0x0003BA
+#define OSM_VENDOR_ID_SUN2          0x002128
 #define OSM_VENDOR_ID_3LEAFNTWKS    0x0016A1
 #define OSM_VENDOR_ID_XSIGO         0x001397
 #define OSM_VENDOR_ID_HP2           0x0018FE
diff --git a/opensm/opensm/osm_helper.c b/opensm/opensm/osm_helper.c
index 0123edc..f3cffa8 100644
--- a/opensm/opensm/osm_helper.c
+++ b/opensm/opensm/osm_helper.c
@@ -3,6 +3,7 @@
  * Copyright (c) 2002-2005 Mellanox Technologies LTD. All rights reserved.
  * Copyright (c) 1996-2003 Intel Corporation. All rights reserved.
  * Copyright (c) 2009 HNR Consulting. All rights reserved.
+ * Copyright (c) 2009 Sun Microsystems, Inc. All rights reserved.
  *
  * This software is available to you under a choice of one of two
  * licenses.  You may choose to be licensed under the terms of the GNU
@@ -2272,6 +2273,7 @@ const char *osm_get_manufacturer_str(IN uint64_t const guid_ho)
 	case OSM_VENDOR_ID_RIOWORKS:
 		return (rioworks_str);
 	case OSM_VENDOR_ID_SUN:
+	case OSM_VENDOR_ID_SUN2:
 		return (sun_str);
 	case OSM_VENDOR_ID_3LEAFNTWKS:
 		return (leafntwks_str);



More information about the general mailing list