public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] PCI: add debug information to resource collision message
@ 2007-04-10 14:25 Chuck Ebbert
  2007-04-13 22:54 ` patch pci-add-debug-information-to-resource-collision-message.patch added to gregkh-2.6 tree gregkh
  0 siblings, 1 reply; 2+ messages in thread
From: Chuck Ebbert @ 2007-04-10 14:25 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-kernel, linux-pci

[-- Attachment #1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2: i386_pci-add_debugging.patch --]
[-- Type: text/plain, Size: 659 bytes --]

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

Signed-off-by: Chuck Ebbert <cebbert@redhat.com>
---
 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)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-04-13 22:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-10 14:25 [patch] PCI: add debug information to resource collision message Chuck Ebbert
2007-04-13 22:54 ` patch pci-add-debug-information-to-resource-collision-message.patch added to gregkh-2.6 tree gregkh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox