diff options
author | Joe Schultz <jschultz@xes-inc.com> | 2014-04-03 14:48:16 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-04-16 14:08:37 -0700 |
commit | 226572b110ab6083cb8c1d6afb191166b4178179 (patch) | |
tree | 1badb68060b9d5fa5a5d219f4dc7d9009c5660c3 /drivers/vme/vme.c | |
parent | 098ced8fefe4a4e4240fa47b1ed9b00d65b6cd21 (diff) | |
download | linux-226572b110ab6083cb8c1d6afb191166b4178179.tar.bz2 |
vme_tsi148: Fix PCI address mapping assumption
Previously, tsi148_master_set() assumed the address contained in its
PCI bus resource represented the actual PCI bus address. This is a fine
assumption on some platforms. However, on platforms that don't use a
1:1 (CPU:PCI) mapping this results in the tsi148 driver configuring an
invalid master window translation.
This patch updates the vme_tsi148 driver to first convert the address
contained in the PCI bus resource into a PCI bus address before using
it.
[asierra: account for pcibios_resource_to_bus() prototype change]
Signed-off-by: Joe Schultz <jschultz@xes-inc.com>
Signed-off-by: Aaron Sierra <asierra@xes-inc.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/vme/vme.c')
0 files changed, 0 insertions, 0 deletions