Add more information to PCI resource collision message
to help with debugging.

Signed-off-by: Chuck Ebbert <[EMAIL PROTECTED]>
---
 arch/i386/pci/i386.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- linux-2.6.20.noarch.orig/arch/i386/pci/i386.c
+++ linux-2.6.20.noarch/arch/i386/pci/i386.c
@@ -246,8 +246,8 @@ int pcibios_enable_resources(struct pci_
                        continue;
                if (!r->start && r->end) {
                        printk(KERN_ERR "PCI: Device %s not available "
-                               "because of resource collisions\n",
-                               pci_name(dev));
+                               "because of resource %d collisions\n",
+                               pci_name(dev), idx);
                        return -EINVAL;
                }
                if (r->flags & IORESOURCE_IO)

Reply via email to