aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cnic.c
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2009-12-02 10:15:38 -0500
committerDavid S. Miller <davem@davemloft.net>2009-12-02 22:57:21 -0500
commit15971c3ce3caf9a92b603a61b07e0be8c9b9d276 (patch)
tree3c81409487f3021a4962927e7aeb5a540ab2290d /drivers/net/cnic.c
parentdd2e4dbce32a2802088f6d0132046afec9bfb2ad (diff)
cnic: Fix rq_page_table DMA address.
The old code mistakenly zeroed out the upper 32-bit of the DMA address. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: Benjamin Li <benli@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cnic.c')
-rw-r--r--drivers/net/cnic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/cnic.c b/drivers/net/cnic.c
index bb6ce8ddcb29..d78e8033c954 100644
--- a/drivers/net/cnic.c
+++ b/drivers/net/cnic.c
@@ -1500,9 +1500,9 @@ static int cnic_setup_bnx2x_ctx(struct cnic_dev *dev, struct kwqe *wqes[],
1500 ictx->timers_context.flags |= ISCSI_TIMERS_BLOCK_CONTEXT_CONN_VALID_FLG; 1500 ictx->timers_context.flags |= ISCSI_TIMERS_BLOCK_CONTEXT_CONN_VALID_FLG;
1501 1501
1502 ictx->ustorm_st_context.ring.rq.pbl_base.lo = 1502 ictx->ustorm_st_context.ring.rq.pbl_base.lo =
1503 req2->rq_page_table_addr_lo & 0xffffffff; 1503 req2->rq_page_table_addr_lo;
1504 ictx->ustorm_st_context.ring.rq.pbl_base.hi = 1504 ictx->ustorm_st_context.ring.rq.pbl_base.hi =
1505 (u64) req2->rq_page_table_addr_hi >> 32; 1505 req2->rq_page_table_addr_hi;
1506 ictx->ustorm_st_context.ring.rq.curr_pbe.lo = req3->qp_first_pte[0].hi; 1506 ictx->ustorm_st_context.ring.rq.curr_pbe.lo = req3->qp_first_pte[0].hi;
1507 ictx->ustorm_st_context.ring.rq.curr_pbe.hi = req3->qp_first_pte[0].lo; 1507 ictx->ustorm_st_context.ring.rq.curr_pbe.hi = req3->qp_first_pte[0].lo;
1508 ictx->ustorm_st_context.ring.r2tq.pbl_base.lo = 1508 ictx->ustorm_st_context.ring.r2tq.pbl_base.lo =