Skip to content
Commit eb4a7cbf authored by John L. Burr's avatar John L. Burr Committed by Roland Dreier
Browse files

IB/mthca: Fix driver when sizeof (phys_addr_t) > sizeof (long)



Some systems have PCI addresses that don't fit in unsigned long (eg some
32-bit PowerPC 440 systems have 36-bit bus addresses).  Fix up the driver
by using phys_addr_t where appropriate, so we don't truncate any PCI
resource addresses before ioremapping them.

Signed-off-by: default avatarJohn L. Burr <jlburr@cadence.com>

[ Update to apply to current driver source.  - Roland ]

Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent 4162cf64
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment