]> err.no Git - linux-2.6/commit
IB/mthca: FMR ioremap fix
authorMichael S. Tsirkin <mst@mellanox.co.il>
Wed, 10 May 2006 14:58:41 +0000 (17:58 +0300)
committerRoland Dreier <rolandd@cisco.com>
Wed, 10 May 2006 22:16:57 +0000 (15:16 -0700)
commitce477ae4f8c75c94587c3157deffad8219db09a0
tree772147685889baa627fc058ecb53a98229bfe4f7
parent5941d079f2c3bdf0dffed1afb8941678fcd0bcb7
IB/mthca: FMR ioremap fix

Addresses for ioremap must be calculated off of pci_resource_start;
we can't directly use the bus address as seen by the HCA.  Fix the
code that remaps device memory for FMR access.

Based on patch by Klaus Smolin.

Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_mr.c