diff options
author | Dave Airlie <airlied@redhat.com> | 2008-03-10 16:47:53 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-03-10 16:47:53 +1000 |
commit | 0899664b9f9dc7a9a7fafab008e145f5e3340ac9 (patch) | |
tree | 8718c4d85ad467044f4eeeebf33886fe61ce3a6d | |
parent | 0e655a383d3fa8d6757b6b785451468ed1550443 (diff) |
pciaccess: forgot some commas
-rw-r--r-- | src/amd_gx_driver.c | 2 | ||||
-rw-r--r-- | src/amd_lx_driver.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/amd_gx_driver.c b/src/amd_gx_driver.c index 09ad47a..efa1048 100644 --- a/src/amd_gx_driver.c +++ b/src/amd_gx_driver.c @@ -327,7 +327,7 @@ static inline void * map_pci_mem(ScrnInfoPtr pScrni, int vram, int map_size = size ? size : dev->regions[bar].size; int err = pci_device_map_range(dev, - dev->regions[bar].base_addr + dev->regions[bar].base_addr, map_size, PCI_DEV_MAP_FLAG_WRITABLE | (vram ? PCI_DEV_MAP_FLAG_WRITE_COMBINE : 0), diff --git a/src/amd_lx_driver.c b/src/amd_lx_driver.c index 09882de..25839c3 100644 --- a/src/amd_lx_driver.c +++ b/src/amd_lx_driver.c @@ -401,7 +401,7 @@ static inline void * map_pci_mem(ScrnInfoPtr pScrni, int vram, int map_size = size ? size : dev->regions[bar].size; int err = pci_device_map_range(dev, - dev->regions[bar].base_addr + dev->regions[bar].base_addr, map_size, PCI_DEV_MAP_FLAG_WRITABLE | (vram ? PCI_DEV_MAP_FLAG_WRITE_COMBINE : 0), |