diff options
author | Roland Dreier <rolandd@cisco.com> | 2011-01-12 18:50:36 +0100 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2011-01-12 18:50:36 +0100 |
commit | 4979d18fe105297f8f065743f31f8f735da8df2d (patch) | |
tree | 36776f85b2bee47c5a671db498939305589d23aa /include | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 (diff) | |
download | linux-4979d18fe105297f8f065743f31f8f735da8df2d.tar.xz linux-4979d18fe105297f8f065743f31f8f735da8df2d.zip |
mlx4_{core, ib, en}: 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 mlx4 drivers
by using phys_addr_t where appropriate, so we don't truncate any PCI
resource addresses before ioremapping them.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions