diff options
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_common.h')
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_common.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_common.h b/drivers/infiniband/hw/ipath/ipath_common.h index aa780e7f2418..0fa43ba25b7e 100644 --- a/drivers/infiniband/hw/ipath/ipath_common.h +++ b/drivers/infiniband/hw/ipath/ipath_common.h | |||
@@ -82,6 +82,16 @@ | |||
82 | #define IPATH_IB_LINK_EXTERNAL 7 /* normal, disable local loopback */ | 82 | #define IPATH_IB_LINK_EXTERNAL 7 /* normal, disable local loopback */ |
83 | 83 | ||
84 | /* | 84 | /* |
85 | * These 3 values (SDR and DDR may be ORed for auto-speed | ||
86 | * negotiation) are used for the 3rd argument to path_f_set_ib_cfg | ||
87 | * with cmd IPATH_IB_CFG_SPD_ENB, by direct calls or via sysfs. They | ||
88 | * are also the the possible values for ipath_link_speed_enabled and active | ||
89 | * The values were chosen to match values used within the IB spec. | ||
90 | */ | ||
91 | #define IPATH_IB_SDR 1 | ||
92 | #define IPATH_IB_DDR 2 | ||
93 | |||
94 | /* | ||
85 | * stats maintained by the driver. For now, at least, this is global | 95 | * stats maintained by the driver. For now, at least, this is global |
86 | * to all minor devices. | 96 | * to all minor devices. |
87 | */ | 97 | */ |