RDMA/cxgb4: Update RDMA/cxgb4 due to macro definition removal in cxgb4 driver
authorVipul Pandya <vipul@chelsio.com>
Wed, 5 Sep 2012 02:01:54 +0000 (02:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Sep 2012 21:41:40 +0000 (17:41 -0400)
cxgb4 driver has duplicate definitions of registers which will be removed. This
patch updates the RDMA/cxgb4 driver accordingly.

Signed-off-by: Santosh Rastapur <santosh@chelsio.com>
Signed-off-by: Vipul Pandya <vipul@chelsio.com>
Reviewed-by: Sivakumar Subramani <sivasu@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/infiniband/hw/cxgb4/qp.c

index 45aedf1d9338a2d9e274778fa025d496bb6f09fc..5213bab2d19bc2092c6f5cd948f5da8d5104736a 100644 (file)
@@ -1155,7 +1155,7 @@ static int ring_kernel_db(struct c4iw_qp *qhp, u32 qid, u16 inc)
                 */
                if (cxgb4_dbfifo_count(qhp->rhp->rdev.lldi.ports[0], 1) <
                    (qhp->rhp->rdev.lldi.dbfifo_int_thresh << 5)) {
-                       writel(V_QID(qid) | V_PIDX(inc), qhp->wq.db);
+                       writel(QID(qid) | PIDX(inc), qhp->wq.db);
                        break;
                }
                set_current_state(TASK_UNINTERRUPTIBLE);
This page took 0.038906 seconds and 5 git commands to generate.