--- a/hw/xfree86/common/xf86pciBus.c
+++ b/hw/xfree86/common/xf86pciBus.c
-@@ -546,6 +546,15 @@
+@@ -546,6 +546,15 @@ xf86PciProbeDev(DriverPtr drvp)
for (k = 0; k < xf86NumEntities; k++) {
EntityPtr pEnt = xf86Entities[k];
if (pEnt->bus.id.pci == pPci) {
--- a/hw/xfree86/common/xf86platformBus.c
+++ b/hw/xfree86/common/xf86platformBus.c
-@@ -167,11 +167,12 @@
+@@ -167,11 +167,12 @@ xf86_check_platform_slot(const struct xf
for (i = 0; i < xf86NumEntities; i++) {
const EntityPtr u = xf86Entities[i];
}
return TRUE;
}
-@@ -302,6 +303,11 @@
+@@ -302,6 +303,11 @@ static Bool doPlatformProbe(struct xf86_
for (nent = 0; nent < xf86NumEntities; nent++) {
EntityPtr pEnt = xf86Entities[nent];
if (pEnt->bus.type != BUS_PLATFORM)
continue;
if (pEnt->bus.id.plat == dev) {
-@@ -368,18 +374,15 @@
+@@ -368,18 +374,15 @@ xf86platformProbeDev(DriverPtr drvp)
/* for non-seat0 servers assume first device is the master */
if (ServerIsNotSeat0())
break;
}
}
-@@ -398,6 +401,7 @@
+@@ -398,6 +401,7 @@ xf86platformProbeDev(DriverPtr drvp)
}
}