aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ipath/ipath_kernel.h
diff options
context:
space:
mode:
authorRalph Campbell <ralph.campbell@qlogic.com>2008-04-17 00:09:24 -0400
committerRoland Dreier <rolandd@cisco.com>2008-04-17 00:09:24 -0400
commita51a2513a8cb201f02d83c37e106909938d2f761 (patch)
tree74e4dad1421eb922f7e108c968d2c7a1666b779e /drivers/infiniband/hw/ipath/ipath_kernel.h
parent58411d1c012dca53ec9107bd98acb63f648e2435 (diff)
IB/ipath: Add code to support multiple link speeds and widths
This patch adds code to get/set portinfo to support multiple link speeds and widths. Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_kernel.h')
-rw-r--r--drivers/infiniband/hw/ipath/ipath_kernel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_kernel.h b/drivers/infiniband/hw/ipath/ipath_kernel.h
index caee731b670f..960d5b7e7865 100644
--- a/drivers/infiniband/hw/ipath/ipath_kernel.h
+++ b/drivers/infiniband/hw/ipath/ipath_kernel.h
@@ -801,6 +801,8 @@ void ipath_hol_event(unsigned long);
801/* 801/*
802 * values for ipath_flags 802 * values for ipath_flags
803 */ 803 */
804 /* chip can report link latency (IB 1.2) */
805#define IPATH_HAS_LINK_LATENCY 0x1
804/* The chip is up and initted */ 806/* The chip is up and initted */
805#define IPATH_INITTED 0x2 807#define IPATH_INITTED 0x2
806 /* set if any user code has set kr_rcvhdrsize */ 808 /* set if any user code has set kr_rcvhdrsize */