RDMA/ocrdma: Fix OCRDMA_GEN2_FAMILY macro definition
authorDevesh Sharma <devesh.sharma@emulex.com>
Thu, 5 Dec 2013 04:16:07 +0000 (09:46 +0530)
committerRoland Dreier <roland@purestorage.com>
Mon, 13 Jan 2014 21:14:33 +0000 (13:14 -0800)
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>
drivers/infiniband/hw/ocrdma/ocrdma_sli.h

index 27089032c669111174e072324376c8f72ff25062..60d5ac23ea803f47c61b2be0ed2bd31590eb97cb 100644 (file)
@@ -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 {