summaryrefslogtreecommitdiffstats
path: root/drivers/char/applicom.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2014-01-03 18:29:00 -0700
committerBjorn Helgaas <bhelgaas@google.com>2014-01-07 11:37:12 -0700
commitb5e350f919acb8ef6961bc1b62e395f53cea123a (patch)
treeef77989abe076f705ba5d27f87e2d9e4e6cfccaa /drivers/char/applicom.c
parent5ef6d8f49533bb28a90ae9eec177ffd1ade54267 (diff)
downloadlinux-b5e350f919acb8ef6961bc1b62e395f53cea123a.tar.bz2
agp/intel: Use pci_bus_address() to get GTTADR bus address
Per the Intel 915G/915GV/... Chipset spec (document number 301467-005), GTTADR is a standard PCI BAR. The PCI core reads GTTADR 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. The spec above only mentions 32-bit GTTADR, but we should still use the standard interface. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/char/applicom.c')
0 files changed, 0 insertions, 0 deletions