From: Chuck Ebbert Date: Tue, 10 Apr 2007 14:25:44 +0000 (-0400) Subject: PCI: add debug information to resource collision message X-Git-Tag: v2.6.22-rc1~1039^2~23 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f14e3136509e3825a83f6689cb709f41dfacea47;p=linux-2.6 PCI: add debug information to resource collision message Add more information to PCI resource collision message to help with debugging. Signed-off-by: Chuck Ebbert Signed-off-by: Greg Kroah-Hartman --- diff --git a/arch/i386/pci/i386.c b/arch/i386/pci/i386.c index 43005f0444..bcd2f94b73 100644 --- a/arch/i386/pci/i386.c +++ b/arch/i386/pci/i386.c @@ -246,8 +246,8 @@ int pcibios_enable_resources(struct pci_dev *dev, int mask) 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)