diff options
author | Mitko Haralanov <mitko@qlogic.com> | 2011-02-28 13:39:49 +0000 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2011-03-14 12:10:34 -0700 |
commit | 4634b7945cf0d6a66036ad10c3d658ae4eb39fa0 (patch) | |
tree | 55e10d1d51b6c40d5dff669bde13832c55e8a977 /drivers/infiniband/hw/qib/qib_qsfp.h | |
parent | cc7fb05946fb1cd2fd0582f9e39f759e20dfeefa (diff) |
IB/qib: Set default LE2 value for active cables to 0
For active and far-EQ cables use an LE2 value of 0 for improved SI.
Signed-off-by: Mitko Haralanov <mitko@qlogic.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@qlogic.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw/qib/qib_qsfp.h')
-rw-r--r-- | drivers/infiniband/hw/qib/qib_qsfp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/qib/qib_qsfp.h b/drivers/infiniband/hw/qib/qib_qsfp.h index 19b527bafd5..c109bbdc90a 100644 --- a/drivers/infiniband/hw/qib/qib_qsfp.h +++ b/drivers/infiniband/hw/qib/qib_qsfp.h @@ -79,6 +79,8 @@ extern const char *const qib_qsfp_devtech[16]; /* Active Equalization includes fiber, copper full EQ, and copper near Eq */ #define QSFP_IS_ACTIVE(tech) ((0xA2FF >> ((tech) >> 4)) & 1) +/* Active Equalization includes fiber, copper full EQ, and copper far Eq */ +#define QSFP_IS_ACTIVE_FAR(tech) ((0x32FF >> ((tech) >> 4)) & 1) /* Attenuation should be valid for copper other than full/near Eq */ #define QSFP_HAS_ATTEN(tech) ((0x4D00 >> ((tech) >> 4)) & 1) /* Length is only valid if technology is "copper" */ |