From d0b17bda4dc469e2ce72f4f8965916b316e1deb7 Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Tue, 14 Dec 2004 08:59:20 +0000 Subject: [PATCH] Removed #ifdef'ed out code together with the comment explaining why it was #ifdef'ed out. Fixed typo. Added comment to a changed that's been committed with one of the previous commits. --- hw/xfree86/os-support/bus/Pci.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hw/xfree86/os-support/bus/Pci.c b/hw/xfree86/os-support/bus/Pci.c index 4bc189bbd..319bd4fb4 100644 --- a/hw/xfree86/os-support/bus/Pci.c +++ b/hw/xfree86/os-support/bus/Pci.c @@ -956,6 +956,11 @@ xf86scanpci(int flags) PCITAG tag; static Bool done = FALSE; + /* + * if we haven't found PCI devices checking for pci_devp may + * result in an endless recursion if platform/OS specific PCI + * bus probing code calls this function from with in it. + */ if (done || pci_devp[0]) return pci_devp;