xserver: Branch 'master'

Adam Jackson ajax at kemper.freedesktop.org
Fri Aug 1 13:15:07 PDT 2008


 hw/xfree86/common/xf86Helper.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d980913f3145cdc34baab27ff818c9631c4c8571
Author: Adam Jackson <ajax at redhat.com>
Date:   Fri Aug 1 16:15:04 2008 -0400

    Erk.  Actually check all the BARs, not just the first.

diff --git a/hw/xfree86/common/xf86Helper.c b/hw/xfree86/common/xf86Helper.c
index c983b9a..d358da0 100644
--- a/hw/xfree86/common/xf86Helper.c
+++ b/hw/xfree86/common/xf86Helper.c
@@ -1556,7 +1556,7 @@ pciDeviceHasBars(struct pci_device *pci)
     int i;
 
     for (i = 0; i < 6; i++)
-	if (pci->regions[0].size)
+	if (pci->regions[i].size)
 	    return TRUE;
 
     if (pci->rom_size)


More information about the xorg-commit mailing list