From patchwork Fri Aug 31 09:24:32 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vipul Pandya X-Patchwork-Id: 1392601 Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id D8BDD3FDF6 for ; Fri, 31 Aug 2012 10:08:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752355Ab2HaKIB (ORCPT ); Fri, 31 Aug 2012 06:08:01 -0400 Received: from stargate.chelsio.com ([67.207.112.58]:13667 "EHLO stargate.chelsio.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752005Ab2HaKHx (ORCPT ); Fri, 31 Aug 2012 06:07:53 -0400 X-Greylist: delayed 2084 seconds by postgrey-1.27 at vger.kernel.org; Fri, 31 Aug 2012 06:07:52 EDT Received: from maui.asicdesigners.com (maui.asicdesigners.com [10.192.180.15]) by stargate.chelsio.com (8.13.1/8.13.1) with SMTP id q7V9X4Oq011372; Fri, 31 Aug 2012 02:33:05 -0700 Received: from strawberry ([10.193.185.96]) by maui.asicdesigners.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 31 Aug 2012 02:27:40 -0700 From: Vipul Pandya To: linux-rdma@vger.kernel.org, netdev@vger.kernel.org Cc: roland@purestorage.com, davem@davemloft.net, divy@chelsio.com, dm@chelsio.com, kumaras@chelsio.com, swise@opengridcomputing.com, santosh@chelsio.com, sivasu@chelsio.com, Vipul Pandya Subject: [PATCH 2/2] RDMA/cxgb4: Update RDMA/cxgb4 due to macro definition removal in cxgb4 driver Date: Fri, 31 Aug 2012 14:54:32 +0530 Message-Id: <1346405072-24561-3-git-send-email-vipul@chelsio.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1346405072-24561-1-git-send-email-vipul@chelsio.com> References: <1346405072-24561-1-git-send-email-vipul@chelsio.com> X-OriginalArrivalTime: 31 Aug 2012 09:27:41.0004 (UTC) FILETIME=[DE4D80C0:01CD875A] Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org cxgb4 driver removed the duplicate definitions of registers which requires update in RDMA/cxgb4 driver. Signed-off-by: Santosh Rastapur Signed-off-by: Vipul Pandya Reviewed-by: Sivakumar Subramani --- drivers/infiniband/hw/cxgb4/qp.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/infiniband/hw/cxgb4/qp.c b/drivers/infiniband/hw/cxgb4/qp.c index 45aedf1..5213bab 100644 --- a/drivers/infiniband/hw/cxgb4/qp.c +++ b/drivers/infiniband/hw/cxgb4/qp.c @@ -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);