From 0899664b9f9dc7a9a7fafab008e145f5e3340ac9 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Mon, 10 Mar 2008 16:47:53 +1000 Subject: pciaccess: forgot some commas --- src/amd_gx_driver.c | 2 +- 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), -- cgit v1.2.3