From 6e560bf9c661991117b5bcb0a441df6e3af0f718 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 10 Dec 2025 12:01:15 +0100 Subject: [PATCH] xfree86: doc: drop mentioning xf86GetPciVideoInfo() This function had been removed back two decades ago, so it's time to update documentation now. Fixes: 46f55f5dead5d70cdff30531d80a72f6be042315 Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xfree86/doc/ddxDesign.xml | 33 +++++++-------------------------- 1 file changed, 7 insertions(+), 26 deletions(-) diff --git a/hw/xfree86/doc/ddxDesign.xml b/hw/xfree86/doc/ddxDesign.xml index 92d2224836..7c50039726 100644 --- a/hw/xfree86/doc/ddxDesign.xml +++ b/hw/xfree86/doc/ddxDesign.xml @@ -633,25 +633,9 @@ Here is what InitOutput() does: In the case of ix86 machines, this will be a general PCI probe. The full information obtained here will be available to the drivers. - This information persists for the life of the Xserver. In the PCI - case, the PCI information for all video cards found is available by - calling xf86GetPciVideoInfo(). + This information persists for the life of the Xserver. -
- - pciVideoPtr *xf86GetPciVideoInfo(void); - -
- returns a pointer to a list of pointers to - pciVideoRec entries, of which there is one for - each detected PCI video card. The list is terminated with a - NULL pointer. If no PCI video cards were - detected, the return value is NULL. - -
-
- After the bus probe, the resource broker is initialised. @@ -7821,15 +7805,13 @@ ZZZProbe(DriverPtr drv, int flags) * the details. */ /* test if PCI bus present */ - if (xf86GetPciVideoInfo()) { - - numUsed = xf86MatchPciInstances(ZZZ_NAME, PCI_VENDOR_ZZZ, + numUsed = xf86MatchPciInstances(ZZZ_NAME, PCI_VENDOR_ZZZ, ZZZChipsets, ZZZPciChipsets, devSections, numDevSections, drv, &usedChips); - for (i = 0; i < numUsed; i++) { - ScrnInfoPtr pScrn = NULL; - if ((pScrn = xf86ConfigPciEntity(pScrn, flags, usedChips[i], + for (i = 0; i < numUsed; i++) { + ScrnInfoPtr pScrn = NULL; + if ((pScrn = xf86ConfigPciEntity(pScrn, flags, usedChips[i], ZZZPciChipsets, NULL, NULL, NULL, NULL, NULL))) { /* Allocate a ScrnInfoRec */ @@ -7847,10 +7829,9 @@ ZZZProbe(DriverPtr drv, int flags) pScrn->ValidMode = ZZZValidMode; foundScreen = TRUE; /* add screen to entity */ - } - } - xfree(usedChips); + } } + xfree(usedChips); xfree(devSections); return foundScreen;