From 2142a9bea80d2cb7daedf1a900897d2a3547a499 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 9 Dec 2025 19:08:07 +0100 Subject: [PATCH] 2 --- hw/xfree86/common/xf86pciBus.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/xfree86/common/xf86pciBus.c b/hw/xfree86/common/xf86pciBus.c index 707362c274..e16b5d7360 100644 --- a/hw/xfree86/common/xf86pciBus.c +++ b/hw/xfree86/common/xf86pciBus.c @@ -100,6 +100,7 @@ xf86PciProbe(void) return; } +#ifdef XSERVER_LIBPCIACCESS iter = pci_slot_match_iterator_create(&xf86IsolateDevice); while ((info = pci_device_next(iter)) != NULL) { if (PCIINFOCLASSES(info->device_class)) { @@ -120,6 +121,7 @@ xf86PciProbe(void) } } free(iter); +#endif /* If we haven't found a primary device try a different heuristic */ if (primaryBus.type == BUS_NONE && num) {