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