summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/amso1100
diff options
context:
space:
mode:
authorSteve Wise <swise@opengridcomputing.com>2006-10-31 05:52:53 +0100
committerRoland Dreier <rolandd@cisco.com>2006-10-31 05:52:53 +0100
commitd7b748d63c908a0a85099ce546594192ae0926f6 (patch)
treed1a04c03e19ca2ffb647c6d77b0a53ace23dbc34 /drivers/infiniband/hw/amso1100
parentIB/amso1100: Use dma_alloc_coherent() instead of kmalloc/dma_map_single (diff)
downloadlinux-d7b748d63c908a0a85099ce546594192ae0926f6.tar.xz
linux-d7b748d63c908a0a85099ce546594192ae0926f6.zip
IB/amso1100: Fix incorrect pr_debug()
pr_debug() was printing the wrong stuff. Signed-off-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/amso1100')
-rw-r--r--drivers/infiniband/hw/amso1100/c2_rnic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/amso1100/c2_rnic.c b/drivers/infiniband/hw/amso1100/c2_rnic.c
index 030238d335ed..21d9612a56cc 100644
--- a/drivers/infiniband/hw/amso1100/c2_rnic.c
+++ b/drivers/infiniband/hw/amso1100/c2_rnic.c
@@ -545,8 +545,8 @@ int c2_rnic_init(struct c2_dev *c2dev)
goto bail2;
}
pci_unmap_addr_set(&c2dev->aeq, mapping, c2dev->aeq.host_dma);
- pr_debug("%s aeq va %p dma %llx\n", __FUNCTION__, q1_pages,
- (unsigned long long) c2dev->rep_vq.host_dma);
+ pr_debug("%s aeq va %p dma %llx\n", __FUNCTION__, q2_pages,
+ (unsigned long long) c2dev->aeq.host_dma);
c2_mq_rep_init(&c2dev->aeq,
2,
qsize,