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)
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>

No differences found