#define IB_PORT_LINK_SPEED_ENABLED_MASK 0x0F\r
#define IB_PORT_PHYS_STATE_MASK 0xF0\r
#define IB_PORT_PHYS_STATE_SHIFT 4\r
+#define IB_PORT_PHYS_STATE_NO_CHANGE 0\r
+#define IB_PORT_PHYS_STATE_SLEEP 1\r
+#define IB_PORT_PHYS_STATE_POLLING 2\r
+#define IB_PORT_PHYS_STATE_DISABLED 3\r
+#define IB_PORT_PHYS_STATE_PORTCONFTRAIN 4\r
+#define IB_PORT_PHYS_STATE_LINKUP 5\r
+#define IB_PORT_PHYS_STATE_LINKERRRECOVER 6\r
+#define IB_PORT_PHYS_STATE_PHYTEST 7\r
#define IB_PORT_LNKDWNDFTSTATE_MASK 0x0F\r
\r
#define IB_PORT_CAP_RESV0 (CL_NTOH32(0x00000001))\r