From: Bjorn Helgaas Date: Sat, 4 Jan 2014 01:26:58 +0000 (-0700) Subject: agp: Support 64-bit APBASE X-Git-Tag: v3.14-rc1~132^2~7^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e501b3d87f003dfad8fcbd0f55ae17ea52495a56;p=pandora-kernel.git agp: Support 64-bit APBASE Per the AGP 3.0 spec, APBASE is a standard PCI BAR and may be either 32 bits or 64 bits wide. Many drivers read APBASE directly, but they only handled 32-bit BARs. The PCI core reads APBASE at enumeration-time. Use pci_bus_address() instead of reading it again in the driver. This works correctly for both 32-bit and 64-bit BARs. Signed-off-by: Bjorn Helgaas Reviewed-by: Daniel Vetter --- Reading git-diff-tree failed