65a4e80
commit 1b94c117e0f294ef2f89bf24d45ba7a8e45efe35
65a4e80
Author: Matthias Hopf <mhopf@suse.de>
65a4e80
Date:   Tue Oct 10 19:37:22 2006 +0200
65a4e80
65a4e80
    Fixing probably long-standing bug in domain support.
65a4e80
65a4e80
diff --git a/hw/xfree86/os-support/bus/linuxPci.c b/hw/xfree86/os-support/bus/linuxPci.c
65a4e80
index c6dad1f..7d220d0 100644
65a4e80
--- a/hw/xfree86/os-support/bus/linuxPci.c
65a4e80
+++ b/hw/xfree86/os-support/bus/linuxPci.c
65a4e80
@@ -498,7 +498,7 @@ xf86GetPciDomain(PCITAG Tag)
65a4e80
     pPCI = xf86GetPciHostConfigFromTag(Tag);
65a4e80
 
65a4e80
     if (pPCI && (result = PCI_DOM_FROM_BUS(pPCI->busnum)))
65a4e80
-	return result;
65a4e80
+	return result + 1;
65a4e80
 
65a4e80
     if (!pPCI || pPCI->fakeDevice)
65a4e80
 	return 1;		/* Domain 0 is reserved */