Add defines for physical port states.  These are used by the latest ib-diags.

Signed-off-by: Sean Hefty <[email protected]>
---
diff -up -r -X \mshefty\scm\winof\trunk\docs\dontdiff.txt -I '\$Id:' 
trunk\inc\iba/ib_types.h branches\winverbs\inc\iba/ib_types.h
--- trunk\inc\iba/ib_types.h    2009-03-02 14:58:52.627250000 -0800
+++ branches\winverbs\inc\iba/ib_types.h        2009-05-04 14:15:44.328479100 
-0700
@@ -4489,6 +4489,14 @@ typedef struct _ib_port_info
 #define IB_PORT_LINK_SPEED_ENABLED_MASK                                0x0F
 #define IB_PORT_PHYS_STATE_MASK                        0xF0
 #define IB_PORT_PHYS_STATE_SHIFT               4
+#define IB_PORT_PHYS_STATE_NO_CHANGE            0
+#define IB_PORT_PHYS_STATE_SLEEP                1
+#define IB_PORT_PHYS_STATE_POLLING              2
+#define IB_PORT_PHYS_STATE_DISABLED             3
+#define IB_PORT_PHYS_STATE_PORTCONFTRAIN        4
+#define IB_PORT_PHYS_STATE_LINKUP               5
+#define IB_PORT_PHYS_STATE_LINKERRRECOVER       6
+#define IB_PORT_PHYS_STATE_PHYTEST              7
 #define IB_PORT_LNKDWNDFTSTATE_MASK            0x0F
 
 #define IB_PORT_CAP_RESV0                      (CL_NTOH32(0x00000001))

_______________________________________________
ofw mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw

Reply via email to