summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ocrdma
diff options
context:
space:
mode:
authorDevesh Sharma <devesh.sharma@emulex.com>2013-12-05 05:16:07 +0100
committerRoland Dreier <roland@purestorage.com>2014-01-13 22:14:33 +0100
commitbe8348df6efac6b602f2ad3210139bccf0dbe3d7 (patch)
treeb81a4bbb8b39c5bc4c3a65800f054ccefaaf2420 /drivers/infiniband/hw/ocrdma
parentRDMA/ocrdma: Fix AV_VALID bit position (diff)
downloadlinux-be8348df6efac6b602f2ad3210139bccf0dbe3d7.tar.xz
linux-be8348df6efac6b602f2ad3210139bccf0dbe3d7.zip
RDMA/ocrdma: Fix OCRDMA_GEN2_FAMILY macro definition
OCRDMA_GEN2_FAMILY is wrongly defined as 0x02 -- it should be 0x0F. Signed-off-by: Devesh Sharma <devesh.sharma@emulex.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw/ocrdma')
-rw-r--r--drivers/infiniband/hw/ocrdma/ocrdma_sli.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/ocrdma/ocrdma_sli.h b/drivers/infiniband/hw/ocrdma/ocrdma_sli.h
index 27089032c669..60d5ac23ea80 100644
--- a/drivers/infiniband/hw/ocrdma/ocrdma_sli.h
+++ b/drivers/infiniband/hw/ocrdma/ocrdma_sli.h
@@ -31,7 +31,7 @@
#define Bit(_b) (1 << (_b))
#define OCRDMA_GEN1_FAMILY 0xB
-#define OCRDMA_GEN2_FAMILY 0x2
+#define OCRDMA_GEN2_FAMILY 0x0F
#define OCRDMA_SUBSYS_ROCE 10
enum {